Tags: IP Address Lookup, Information, and Location, Test Your Internet Connection Speed
|
#1
|
|||
|
|||
|
Sup yo, I have an old laptop that I installed Apache on, to use it as a web server. Thing is, when I try to access it from another PC on my network, all I get is the page with my router settings, and if I try to access it from outside the network, it simply times out. Any ideas? |
|
#2
|
||||
|
||||
|
Try giving it a static IP on your LAN if you haven't already. For example, assign it 192.168.x.2. Then when accessing it from another computer, you'll need to do http://192.168.x.2
If you've done this already and it's still not working, there may be a firewall setting on the apache machine preventing from letting any traffic in. Make sure you can access it internally first. Once you know it's working and you can access it, simply forward port 80 in your router to the static IP you give the apache machine...192.168.x.2. Then if you try and access it from the outside, it should work. If it doesn't your ISP may block port 80 so you'll have to do work around for that....and we can show you how....just give us an update of your progress. |
|
#3
|
|||
|
|||
|
Quote:
For starters, how do I assign it a static IP? ![]() I'm pretty "literate" with computers, but networking is a subject I haven't worked much with up until this point. |
|
#4
|
||||
|
||||
|
First you'll need to figure out what your network settings are. If you have a Windows box, you can simply open up a command window by going to Start, Run, type in cmd and hit ok. Then at the prompt type ipconfig /all
This will tell you the Windows IP, subnet, gateway, and DNS. You can then use this information to assign your Linux box the necessary IP info. This link will take you to our Linux IP Commands so you can do all the necessary assigning once you get it your network information. So if your Windows box is this: 192.168.1.100 (IP) 255.255.255.0 (Subnet) 192.168.1.1 (Gateway) Assign your Linux box this: 192.168.1.2 (IP) 255.255.255.0 (Subnet) 192.168.1.1 (Gateway) |
|
#5
|
|||
|
|||
|
Quote:
I'm running two computers, both on Vista. My router is a Linksys WRT54GL router. |
|
#6
|
||||
|
||||
|
Ok...then on Vista, you'll need to run the command prompt in administrative mode to get the IP info.
Same command, ipconfig /all Then assign a static IP to the Vista machine with Apache. Open the Windows Firewall and make an exception for port 80 to be allowed. Log in to the router, go to Applications & Gaming tab. Choose Port Forwarding. Forward port 80 to the static IP you assign the Apache machine. And that should do it. |
|
#7
|
|||
|
|||
|
Quote:
Again, thanks lots! |
|
#8
|
||||
|
||||
|
Sweet!! Glad it's working.
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|