How to Port Forward Apache in Your Router

Thumbnail image of Port Forward Staff
Port Forward Staff
July 22, 2021 (Last Updated: ) | Reading Time: 1 minutes

When you use Apache you may need to forward ports in your router. A port forward allows incoming connection requests from the internet to go straight to Apache.

Routers do not generally allow incoming connection requests from the internet. Forwarding ports can work around this limitation.

Remember to Do These Things Before You Forward a Port

You need to know the following things before you can forward a port:

Find Your Router's IP Address

To find your router's IP address the easy way you can use our free Router Detector software. The software is part of our Network Utilities suite of tools and it is completely free to use.

You can also follow our Find Your Router IP Address article.

Forwarding a Port for Apache

A smart way to forward your ports is to use Network Utilities. Our Network Utilities software allows you to add port forwards and also remove them when you no longer need them to maximize your network security.

Alternatively you can do it by hand. The way to forward a port is:

You probably will need to reboot your router for the changes to take effect.

You can choose your router from our list to see exactly how to forward ports for Apache:

List of Routers - Customized for Apache

Forwarding Ports for Apache

Here is a list of the ports that need to be forwarded for Apache:

Apache - PC

  • TCP: 80, 443
  • UDP:

That is the process required to forward ports in your router for Apache.

Still Can't Connect After Forwarding Your Ports?

Some internet connections can't be port forwarded at all. If your ISP uses CGNAT, or you are behind two routers (double NAT), incoming connections never reach your router, no matter how its ports are set.

For those connections a VPN is the way around it. NordVPN includes Meshnet, which links your devices over an encrypted connection so they can reach each other from anywhere, without opening any ports.

NordVPN: faster than ever

Get NordVPN

NordVPN links are affiliate links: if you sign up through one, we get a small commission. That's how we keep most of this site ad-free.

More From Portforward