dpallot / simple-websocket-server

A python based websocket server that is simple and easy to use.
950 stars 320 forks source link

Ubuntu server not allowing connection? #109

Closed themindfactory closed 1 year ago

themindfactory commented 1 year ago

I am using SimpleWebSocketServer('0.0.0.0', 8887, wsServer) to start the server, I assume 0.0.0.0 means listen on all interfaces, I have no firewall running (ufw is disabled) yet I can see the 8887 port is open but I can not connect to it.

I used the same code on a CENTOS 7 server and all is good.

Wondering if anyone can be helpful?

Thanks!

themindfactory commented 1 year ago

Sorry Python is 3.10.6 ubuntu is 22.04LTS and SWSS is 0.1.2 :-)

themindfactory commented 1 year ago

some more details as I try to figure this out: its a new install on ubuntu, no webserver maybe the route tables are wrong? the IP on the machine is 192.168.2.43

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         mynetwork       0.0.0.0         UG    100    0        0 eno1
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 eno1
192.168.2.0     0.0.0.0         255.255.255.0   U     100    0        0 eno1

sorry I am a Linux noob!

themindfactory commented 1 year ago

Not sure what happened, reloaded OS, all good.

themindfactory commented 1 year ago

Closed