Accept Python Based Websocket Server

I want to host the main Websocket server.

The code I want to see works: FastFlicker

Do you know how and where can I place this application online?

+5
source share
2 answers

Your OpenShift solution, even with a free plan, you can host FastFlicker . Click Add Application , select good ammo (Python 2.7).

Then use your gitHub repository url to get the source.

Once the application is launched, you will need SSH to change the address and port (see this post ). To be able to ssh, you need to first create an ssh key and add it to the setting on the website

So now kill all the processes that use your port. ( lsof -i :8080 )

Launch the application and now it works! (For me, this is app-deployments/current/repo/ , then python FastFlicker.py & )

It is currently located here: ws: //main-fastflicker.rhcloud.com: 8000 / And to check this out, you know you can use this common client. .

+1
source

PythonAnywhere dev is here. Unfortunately, we cannot post websocket-based applications on our site right now. The switch you select allows / disables the web ports for our consoles in the browser; it is not related to launching your own web server server.

I added upvote for websockets to our own bug tracker, but now you have to use another service: - (

+5
source

Source: https://habr.com/ru/post/1208735/


All Articles