Skip to content
← Back to Community
Why cant the server bind to repl?
Profile icon
h
has Hacker Plan
yoursoulsaver

I cant seem to get my server script to bind to repl and listen on the port. Is this because repl is blocking me or something else?
https://replit.com/@yoursoulsaver/server#main.py

Voters
Profile icon
yoursoulsaver
Comments
hotnewtop
Profile icon
VulcanWM

I don’t think socket works in Python. You need to use flask_socketio instead

Profile icon
yoursoulsaver

@VulcanWM Does that mean i have to redo the entire code from scratch or just importing and changing variables?

Profile icon
VulcanWM

I think redoing @yoursoulsaver