View previous topic :: View next topic |
Author |
Message |
ryan83vt Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8472791513f2de35a11f89.jpg)
Joined: 28 Oct 2002 Posts: 370 Location: Blacksburg, VA
|
Posted: Mon Sep 01, 2003 5:52 pm Post subject: Server issues with cable Internet |
|
|
I don't know exactly how else to describe this problem. Ever since I moved to my apt. using cable Internet I can not access my server. If I type in localhost then I get some search page that searches for localhost. I can type localhost:631 and get the cups page though. And if I type my IP in, I get a "connection was refused" error.
Here is some output:
Code: |
$ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:6D:16:51:63
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27649 errors:0 dropped:0 overruns:0 frame:0
TX packets:8333 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8789231 (8.3 Mb) TX bytes:924689 (903.0 Kb)
Interrupt:5 Base address:0x9800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:584 errors:0 dropped:0 overruns:0 frame:0
TX packets:584 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:209395 (204.4 Kb) TX bytes:209395 (204.4 Kb)
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
metalac Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar9.gif)
Joined: 21 Aug 2002 Posts: 191 Location: Seattle, USA
|
Posted: Mon Sep 01, 2003 7:34 pm Post subject: |
|
|
is there some sort of a router or something going on there? because your IP is NOT 192.168.1.104
Your IP should be whatever the IP of that modemr or external IP on that router.
So look into it. _________________ >>>>> Ignorance is bliss <<<<< |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ryan83vt Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8472791513f2de35a11f89.jpg)
Joined: 28 Oct 2002 Posts: 370 Location: Blacksburg, VA
|
Posted: Mon Sep 01, 2003 8:04 pm Post subject: |
|
|
yes, I have a router. The IP I use to access the web interface of the router is 192.168.1.1 but that's got to be intranet, not internet, because it was a generic IP used in the instruction manual of the router.
So, I'm not sure what to use. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
graybeard Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey2.gif)
Joined: 16 Mar 2003 Posts: 118 Location: a blue state
|
Posted: Mon Sep 01, 2003 9:09 pm Post subject: |
|
|
Can you ping to the router?
And can you ping to the outside world? (ie. www.google.com)
Code: |
$ ping 216.239.53.99
|
If you pass the first test but fail the second it is possible that your router is not set up right or needs to be reset. Mine has a release/renew button on an internal setup HTML page, for when communication between the cable modem and the router gets hosed up. Let us know.
-dan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
herring Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Scientist.gif)
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Mon Sep 01, 2003 9:35 pm Post subject: Re: Server issues with cable Internet |
|
|
Could this be something similar to what you are trying to do ?
http://shorewall.net/FAQ.htm#faq14 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ryan83vt Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8472791513f2de35a11f89.jpg)
Joined: 28 Oct 2002 Posts: 370 Location: Blacksburg, VA
|
Posted: Mon Sep 01, 2003 9:41 pm Post subject: |
|
|
hmmm. funny. I can ping 192.168.1.1 but not www.google.com. Strange since I can access the sites fine. I tried the dhcp release / renew thing and it still doesn't work. However, I did see the external IP addy for my router listed on that page. I still don't know how to find mine though. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
herring Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Scientist.gif)
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Mon Sep 01, 2003 10:36 pm Post subject: |
|
|
ryan83vt wrote: | hmmm. funny. I can ping 192.168.1.1 but not www.google.com. Strange since I can access the sites fine. I tried the dhcp release / renew thing and it still doesn't work. However, I did see the external IP addy for my router listed on that page. I still don't know how to find mine though. |
This is interesting reading as well
http://homepage.ntlworld.com/robin.d.h.walker/docsdiag/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ryan83vt Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8472791513f2de35a11f89.jpg)
Joined: 28 Oct 2002 Posts: 370 Location: Blacksburg, VA
|
Posted: Thu Sep 04, 2003 3:45 am Post subject: |
|
|
none of those links really helped -- the 1st link showed the problem I had but a solution that did not really apply to me. I'm suprised more people don't have this problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
st. anger Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/16923032003ffddaaabe119.gif)
Joined: 30 Oct 2002 Posts: 273
|
Posted: Thu Sep 04, 2003 3:50 am Post subject: |
|
|
the external IP for your router is your IP. simply forward port 80(or whatever external port you want to use) to your servers internal-IP:port number.
also, you should be able to see localhost if your server is set up correctly. instead of typing localhost, try http://192.168.1.104 (your servers IP) or http://127.0.0.1 to verify that the server is running. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|