user7350328
user7350328

Reputation:

Mosquitto error: only one usage of each socket address is normally permitted

I am seeing this error with Mosquitto, can someone please tell me how to solve the problem?

λ mosquitto -v
1483089866: mosquitto version 1.4.9 (build date 08/06/2016 11:59:29.51) starting
1483089866: Using default config.
1483089866: Opening ipv6 listen socket on port 1883.
1483089866: Error: Only one usage of each socket address (protocol/network address/port) is normally permitted.

Upvotes: 3

Views: 7715

Answers (2)

Christopher Ade
Christopher Ade

Reputation: 11

go to command prompt administrator

run the command netstat -ano | findstr1883

then kill the process taskkill /F /PID 4464

Upvotes: 1

hardillb
hardillb

Reputation: 59638

The message implies that you are trying to reuse port 1883.

Best guess with so little to work with is that you already have an instance of mosquitto (or some other broker) running on the machine that is already bound to port 1883

The error message is one from Windows, so it probably means that mosquitto is running as a service

Upvotes: 8

Related Questions