Ask coding questions

← Back to all posts
ssh hosting
alexevans11 (1)

I have made this bash server, intended for linux. i am using repl.it to run it though. i run the thing, and it runs fine. but when i enter the localhost link that the repl put out for me, i get the error connection refused. the same thing happened when i make a python socket server. am i doing something wrong? is it possible to host a bash server on repl?

Comments
hotnewtop
Coder100 (18876)

set the ip to 0.0.0.0 and an actual server will be created, it will never be created locally.