Ask coding questions

← Back to all posts
Python socket cannot be accessed externally

I have the following Repl which is supposed to act as an HTTP proxy. While the server is running, I am able to go in the terminal inside replit and run

But, I am when I try to run the same command externally, I do not get any output.

This command results in:

Please let me know how I can access the server externally.