View previous topic :: View next topic |
Author |
Message |
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 7:30 pm Post subject: Problem With Webserver |
|
|
So I have apache running and localhost works and 192.168.0.2 works but I can't seem to get to it from my cable modem's ip. And yes I've turned on port forwarding in my router. Any ideas what's wrong?
Thanks! |
|
Back to top |
|
|
scriptkiddie l33t
Joined: 30 Mar 2003 Posts: 955
|
Posted: Tue Aug 26, 2003 7:31 pm Post subject: |
|
|
so you have a computer and you want to access it from another computer? |
|
Back to top |
|
|
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 7:32 pm Post subject: |
|
|
I want to access it over the internet... |
|
Back to top |
|
|
revresxunil Tux's lil' helper
Joined: 29 Sep 2002 Posts: 129 Location: UW Madison
|
Posted: Tue Aug 26, 2003 7:57 pm Post subject: |
|
|
Provider might be blocking port 80. Charter communications does that (I have charter) |
|
Back to top |
|
|
Clete2 Guru
Joined: 09 Aug 2003 Posts: 530
|
Posted: Tue Aug 26, 2003 8:02 pm Post subject: |
|
|
I hate charter, but have it... and my port 80 is not blocked... |
|
Back to top |
|
|
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 8:08 pm Post subject: |
|
|
Figured it out I think:
(I have a Netgear MR814 Router)
ftp://downloads.netgear.com/files/netgear1/MR814_RefGuide.pdf
"Local PCs must access the local server by its local LAN address.
Attempts by local PCs to access the server using its external IP
address will fail." |
|
Back to top |
|
|
scriptkiddie l33t
Joined: 30 Mar 2003 Posts: 955
|
|
Back to top |
|
|
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 8:22 pm Post subject: |
|
|
Just made one with no-ip.com and I still get connection refused. Anyone know if there is anyway around this or want to try my ip to see if you see apache?
http://paste.bounceme.net/
lol |
|
Back to top |
|
|
mpsii l33t
Joined: 11 Mar 2003 Posts: 658 Location: Jackson, TN
|
Posted: Tue Aug 26, 2003 8:24 pm Post subject: |
|
|
Clicked on your link and web page is non-existant... _________________ -----------------------------------------
Michael |
|
Back to top |
|
|
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 8:27 pm Post subject: |
|
|
DId it say connection refused? |
|
Back to top |
|
|
scriptkiddie l33t
Joined: 30 Mar 2003 Posts: 955
|
Posted: Tue Aug 26, 2003 8:27 pm Post subject: |
|
|
this may sound dumb, but try it...
ssh into that ip address through the computer that is that ip.. if it can't connect then you know something is wrong |
|
Back to top |
|
|
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 8:28 pm Post subject: |
|
|
bash-2.05b# ssh 192.168.0.2
ssh: connect to host 192.168.0.2 port 22: Connection refused |
|
Back to top |
|
|
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 8:36 pm Post subject: |
|
|
nmap says there are no ports open ack! what to do?
But it's open on the lan:
Starting nmap 3.30 ( http://www.insecure.org/nmap/ ) at 2003-08-26 13:34 Local time zone must be set--see zic manual page
Interesting ports on mymachine.mydomain.com (192.168.0.2):
(The 1640 ports scanned but not shown below are in state: closed)
Port State Service
80/tcp open http
443/tcp open https
3306/tcp open mysql
6000/tcp open X11
Nmap run completed -- 1 IP address (1 host up) scanned in 0.334 secon |
|
Back to top |
|
|
jsambz n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Tue Aug 26, 2003 9:16 pm Post subject: |
|
|
Am I missing something? Is attbi/comcast blocking all ports or do I need to do something else? |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Tue Aug 26, 2003 11:27 pm Post subject: |
|
|
I got the website.
Code: | $ telnet paste.bounceme.net 80
Trying 12.213.229.251...
Connected to paste.bounceme.net.
Escape character is '^]'.
HEAD / HTTP1.0
HTTP/1.1 200 OK
Date: Tue, 26 Aug 2003 16:26:22 GMT
Server: Apache/2.0.47 (Gentoo/Linux) mod_ssl/2.0.47 OpenSSL/0.9.6j PHP/4.3.2
Content-Location: index.html.en
Vary: negotiate,accept-language,accept-charset
TCN: choice
Last-Modified: Tue, 26 Aug 2003 01:19:18 GMT
ETag: "30a0c-5b0-b9481180"
Accept-Ranges: bytes
Content-Length: 1456
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Content-Language: en
Connection closed by foreign host.
|
|
|
Back to top |
|
|
|