|Can not get apache server work properly|
| 1:43 am on Apr 1, 2007 (gmt 0)|
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 184.108.40.206 (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)|
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.
| 10:32 am on Apr 1, 2007 (gmt 0)|
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)|
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.
| 10:05 pm on Apr 2, 2007 (gmt 0)|
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