Data Engineering/MQTT

Mosquitto 접속오류 (대상 컴퓨터에서 연결을 거부했으므로 연결하지 못했습니다)

하 선생 2022. 1. 27. 14:16

# mosquitto.conf 파일에서 아래 내용 추가

(리눅스 : vi /etc/mosquitto/mosquitto.conf)

 

allow_anonymous true
bind_address 192.168.0.131

 

* ip의 경우 공인ip로 하지 말고 내부ip로 할것

 

 

sudo systemctl status mosquitto.service

sudo systemctl restart mosquitto.service