'Report error "eaddrinuse" but there is no port occupied in "netstat" or "lsof -i:port"
{error_logger,{{2013,10,14},{12,31,31}},"Protocol: ~p: register/listen error: ~p~n",["inet_tcp",eaddrinuse]}
Can anyone give some advice. Thank you.
Solution 1:[1]
For people who tries to run 2 rabbitmq on same server, don't uncomment two tcp port with same port in /etc/rabbitmq/rabbitmq.conf. It should be like:
listeners.tcp.default = 5700
## To listen on a specific interface, provide an IP address with port.
## For example, to listen only on localhost for both IPv4 and IPv6:
##
# IPv4
#listeners.tcp.local = 127.0.0.1:5700
# IPv6
# listeners.tcp.local_v6 = ::1:5700
For ipv4 and ipv6 change the port, otherwise you'll face with eaddrinuse error.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mehmet Burak Say?c? |
