Forums

How to run websockets server ?

I have written python server for game, it use websockets library (WS protocol) to connect to browser client. I started it on pythonanywhere. It works, but I don't know IP address of server, and can't connect to it. What I should do ? If i can't use pythonanywhere, what I can ?

You can't expose such server to the world on PythonAnywhere. If you want people to be able to access your application on PythonAnywhere, you should build it as a web app.