Ask coding questions

← Back to all posts
Server automatically closes itself, issue with code or is it repl?
oRedemption (0)

Every time I run the program, the server opens and the connection establishes, but it instantly closes itself again. Is it an issue with my code or is it just how Repl works?

Commentshotnewtop
Masy (21)

Hm, It works perfectly for me when i run it, maybe its something on your end blocking the connection? try forking it and running it again :)