2

I just got myself a Windows 2019 server VPS. It's unmanaged.

I'm trying to open port 3307. I added the port to the firewall under ingoing tcp/udp and outgoing tcp/udp (see screenshots below). I'm running a Django REST server on port 3307 (it's running at this time). After doing that the port still seems to be closed, a port checker also says it's closed.

As far as I know this is all I need to do to open a port in a Windows server, is there anything I'm missing? I also contacted the host and they confirmed that the port is not closed on their side.

Screenshots:

ingoing tcp

ingoing udp

outgoing tcp

outgoing udp

Port checker

App running on port 3307

App running on port 3307

2
  • closed usually indicates that nothing is listening on that port, not a firewall problem. Check if your service is actually running and configured to the port/interface you are checking. Aug 18, 2020 at 13:45
  • @GeraldSchneider Thanks but I'm hosting a Django server on port 3307, check the last screenshot (which I just added).
    – SJ19
    Aug 18, 2020 at 13:50

1 Answer 1

2

Your screenshot shows that your server only listens on the Loopback interface 127.0.0.1.

You are trying to access it with a different interface. Configure your server to listen on all interfaces (usually 0.0.0.0).

One way to do this is shown here:

python manage.py runserver 0.0.0.0:3307
1
  • Yes now it works, thank you so much! Never knew about the difference between 127.0.0.1 and 0.0.0.0. Localhost is the same as 127.0.0.1 right?
    – SJ19
    Aug 18, 2020 at 13:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .