Accessing the LAN IP Address given by my router (on a laptop connected to my wireless network) just connects my back to my router admin page. Is that right? how does that test apache?
This does not make sense. Your router should have it's own local address. Each machine on the LAN should have all unique addresses.
If you enter the LAN ip address of your server and get the router page, it could be a NAT thing.
On the server what is the output of
Code:ifconfig
Nothing is ever easy, but if it is difficult you must be doing it wrong.
ipconfig returns:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:89 errors:0 dropped:0 overruns:0 frame:0
TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7022 (7.0 KB) TX bytes:7022 (7.0 KB)
wlan0 Link encap:Ethernet HWaddr 00:14:a5:cc:47:5a
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:a5ff:fecc:475a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2632688 errors:0 dropped:0 overruns:0 frame:0
TX packets:4119927 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:224953610 (224.9 MB) TX bytes:1311141000 (1.3 GB)
wmaster0 Link encap:UNSPEC HWaddr 00-14-A5-CC-47-5A-37-35-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Does it say which ip address I should be using to test the server from my laptop? I want to be sure I'm using the right one...
Yes the ip address is present. I see you are using a wireless adapter.
To clarify is the server separate from your laptop?192.168.1.3
I see you wrote "ipconfig" (typo?), this is a linux server, correct?
When you visit canyousee.org, it should display your external ip address. What happens when you enter that address in a browser from a machine other than your server?
Nothing is ever easy, but if it is difficult you must be doing it wrong.
Thanks again volkswagner. When I type the address you quoted in the laptop's browser it tries to connect to local host (it's running an xampp server also). So that seems kind of legit. The website you posted doesn't show me anything about my IP address. Yes it's a linux server and yes that's a typo on my part.
Odd. Here is a screen shot of my system when going to canyouseeme.org
So did your apache page load when you entered the "192.168.1.3"? What happened?
Notice my external ip in the top left corner?
You must have a firewall blocking the function.
Your router status page must also list your external ip.
What type of router are you using?
Do you have a second machine on the LAN to do testing with?
Last edited by volkswagner; September 13th, 2009 at 02:11 PM.
Nothing is ever easy, but if it is difficult you must be doing it wrong.
When I tried to connect to that address with my laptop it tried to load the localhost page on it's own server (I also have xampp installed on my laptop). I was able to get to canyouseeme.org. It gave me a different ip address than the one you quoted earlier. When I tried to access that from my laptop I got a page that was continually loading...
Can you post your apache config files?
Are you able to connect to your server from you laptop, via ssh?
How are you connecting to your server for administration?
Is your server connecting to the net?
On your server run:
Do you see the name servers listed?Code:host google.com
To clear things up....you are running XAMMP on your server and your laptop?
Nothing is ever easy, but if it is difficult you must be doing it wrong.
Alright! Using '192.168.1.3' In my router controls, I was able to successfully forward port 80 (Or at least that's what canyouseeme.org says...) One question I have is, why does canyouseeme.org show a different address than '192.168.1.3'? It shows some 68.52.***.* number. And when trying to load '192.168.1.3' in my laptop's browser it loads it's local 'localhost' page. I've never set a firewall up, so unless one is installed by default in Ubuntu 9.04, then I shouldn't have one. My router is a Netgear WGR614v8. I'll plug my laptop into the router and see if that gives me different results than wirelessly...Thanks for all the advice/suggestions
Bookmarks