Welcome to WebmasterWorld Guest from 23.23.46.20

Forum Moderators: Ocean10000 & incrediBILL & phranque

Can not get apache server work properly

   
1:43 am on Apr 1, 2007 (gmt 0)

5+ Year Member



I want to make my computer a server and installed apache, php and mysql, it is all configured properly.

My LAN ip is 192.168.0.111

My WAN ip is 207.6.79.70 (this could change but very rarely, so letĄŻs assume it wonĄŻt change for at least months)

My routerĄŻs ip is 192.168.0.1

Now the problem is when I type my LAN address into the computer, I can see the apache server correctly, however when I type my WAN ip address, I did not see the apache server, it takes me to my router (the result is the same as I type 192.168.0.1)

Do you know what the problem might be? Thanks a lot

2:43 am on Apr 1, 2007 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



If you are trying to access your WAN IP address from inside your LAN, you are asking your router to do an impossible job: I cannot connect OUT and IN at the same time. So, your WAN address will not be accessible from inside your network. Either use a public proxy to "turn the request around and send it back" or use a friend's computer on a different network to test your WAN IP address.

Jim

10:32 am on Apr 1, 2007 (gmt 0)

5+ Year Member



thanks a lot

I used proxy to test it, however i saw something really odd

when i type my WAN ip, it is almost a blank page with the work "F*ck Off"

I totally have no idea what happened! Did someone hack me?

6:36 pm on Apr 1, 2007 (gmt 0)

5+ Year Member



I tried again and got the message:

Network Error (tcp_error)

A communication error occurred: "Operation timed out"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

For assistance, contact your network support team.

any ideas?

10:05 pm on Apr 2, 2007 (gmt 0)

10+ Year Member



To access your website by its url:

If you are running Windows, you can add your IP address to the "lmhosts" file found under \windows\system\...

In Linux, its the hosts file in /etc

Bob

 

Featured Threads

Hot Threads This Week

Hot Threads This Month