Your IPv4 address:
Operating system:

Why is my port closed?

The program is running, yet a port test says “closed”. The cause can sit at any point along the path: the local socket, IP delivery, TCP or UDP behaviour, a firewall or NAT. Keep two things apart from the start: a successful ping does not prove a TCP port is reachable, and an open port does not prove the application behind it is healthy.

Refused or no answer: two different failures

A fast refusal, sent as a TCP RST packet, usually means your request reached the target but no program accepted the connection on that port. A timeout means nothing came back, which can indicate filtering, a routing problem, NAT or a silent drop. Always read a port number together with its transport: TCP port 53 and UDP port 53 are separate.

Find where the connection stops, from the server outward

  1. The process: is it running, and is it bound to the intended interface and not only to the local loopback address?
  2. The firewall on the host.
  3. The route between the networks.
  4. NAT and the port forwarding rule on the router.
  5. CGNAT or filtering at the provider.
  6. A test from outside your network with the 2ip port checker.

Confirm the first step before you touch any firewall rule. Many “closed ports” are services listening on the wrong address.

When the port opens but the transfer hangs

If connections are accepted and then stall on larger amounts of data, look at packet size separately: MTU and Path MTU Discovery, not the port.