Ask coding questions

← Back to all posts
Why cant the server bind to repl?
h
yoursoulsaver (0)

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

Comments
hotnewtop
VulcanWM (2906)

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

yoursoulsaver (0)

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