Click here to Skip to main content
15,891,695 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I've been trying to connect to my apache server from the web for some time now without any success. I've port forwarded my router to the device hosting the server. I've open the ports that I am using (80 and 443). I've used a port checking tool and it verified that my ports were open. when I pinged my servers main ip address, none of the packets made it through. What am I doing wrong?

What I have tried:

here is the code that is in between my document root tags:

<br />
    Options Indexes FollowSymLinks<br />
    AllowOverride All<br />
    Require all granted<br />


I apperciate any help.
Posted
Updated 20-Apr-17 10:10am

1 solution

By "port forwarding", I'm assuming this is your home router. If you're pinging the server's IP address, you're pinging the wrong address. You need the external IP address your ISP assigned to your modem/router. That's the address you should be using to get at the server. If you don't know what it is, just type "Whats my ip" into Google from a machine inside your network to find out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900