TransWikia.com

Windows 2019 server - Port closed even though it's added to firewall

Server Fault Asked by SJ19 on February 26, 2021

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

One Answer

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

Correct answer by Gerald Schneider on February 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP