[Fixed]-Remapping traffic from one port to another using ATS

1👍

I just ran a few tests on my server and it looks like you should already be good.

Here’s what I tried:

$ uwsgi --http :9090 --wsgi-file hello-world.py
# I can see the server from an external request.

$ uwsgi --http-socket :9090 --wsgi-file hello-world.py
# I can see the server from an external request.

$ uwsgi --http 127.0.0.1:9090 --wsgi-file hello-world.py
# I cannot see the server from an external request.

$ uwsgi --http 127.0.0.1:9090 --wsgi-file hello-world.py
# I cannot see the server from an external request.

By including 127.0.0.1 in that line for configuration, an external IP shouldn’t be able to access the application, but Apache or NginX should.

Leave a comment