-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websockets Listener on Windows permanently bound to localhost - V1.5.3 #1005
Comments
I have encountered this problem, but I don't know how to solve it. you can run the program like the following in the command line,try Netstat -a again the port 1884 will be opened, but my client couldn't connect to the broker~ |
This seems like a duplicate to #1004 |
I don't think it is necessarily a duplicate. This is Windows, 1004 isn't. 1004 is using libwebsockets 3.0.0, we have 2.4.2 on Windows. It might be that they are a duplicate after all, but for the moment I'd prefer to keep this open and separate. |
In particular, Windows is not supported by the libwebsockets author, he relies entirely on contributions which means there is a reasonable amount of difference in behaviour between Windows/other systems. |
i have the same issue, i just able to make conection over the websokects this way: var mqtt = new Paho.Client(host,port, "Clientjs");if i use as host the ip address (192.168.1.101) or (127.0.0.1), it doesn't connect |
Could you please try with this file? https://mosquitto.org/files/binary/win32/mosquitto-1.5.3a-install-windows-x64.exe It seems as though if libwebsockets is compiled with IPv6 support then it binds to localhost. That installer has no mosquitto changes, but has a libwebsockets without IPv6 support. It works for me. |
sha512: |
there is this file but for windows x86 ? |
@ralight thank you so much! file mosquitto-1.5.3a, it works for me! can you share the version for windows x86 please? |
There is now 1.5.4 available with both x86 and x64. |
i still have the same issue, i cant change the ip address of websockets |
I have updated the version 1.5.4 x86, but I still have the same problem. |
updated the version to 1. 5.4.. Config file:port 8883 listener 9883 log_type all Getting below error : |
I believe this should work on the upcoming 1.5.5 if you use:
in your config file. |
Hello,
I just did a fresh install on a Windows server 2016 box and I am having an issue with the websockets functionality. I did install openSSL Light (x64) per the readme - and I also installed Visual studio 2013 redist (x64)
My config is default, with the following additions:
The program starts and shows that it is listening:
Netstat -a shows that 1883 is listening on all ip addresses, but 1884 is only listening on localhost. This is confirmed by my web application that is only able to connect to port 1884 via localhost.
I also tried the following in my mosquitto config:
But that dosent seem to work
The text was updated successfully, but these errors were encountered: