Open ingnelson opened 4 years ago
I will need a few more details, for now the proxy is set to serve on local port 8674, you want it to serve on port 80?
If you don't want it to do it in a docker container you can just take the wsproxy.py as is and run it from the command line like:
python wsproxy.py
.
Now I am assuming you would have wanted to connect to wss://echo.websocket.org via the proxy, so you connect to the proxy via your method, in my testing I used websocat, like this:
websocat ws://127.0.0.1:8764?url=wss://echo.websocket.org
, I used the localhost IP of 127.0.0.1 but if you are on a server you can use it's public IP, 8764 is hardcoded as the listening port so you would have to change it in the code atm if you want another port. Now you are connected to wss://echo.websocket.org via the proxy.
How to install and run on port 80 ? Please I need your help