3

I want to share my local WebSocket on the internet but ngrok only support HTTP but my ws.py address is ws://localhost:8000/

it is good working on localhost buy is not know how to use this on the internet?

ehsan
  • 91
  • 1
  • 5

2 Answers2

2

You can use ngrok http 8000 to access it. It will work. Although, ws is altogether a different protocol than http but ngrok handles it internally.

waterbyte
  • 241
  • 1
  • 16
0

You can expose websocket server using NGROK

ngrok tcp 8000
Ankur
  • 1,385
  • 11
  • 21