Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem With Webserver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 7:30 pm    Post subject: Problem With Webserver Reply with quote

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
View user's profile Send private message
scriptkiddie
l33t
l33t


Joined: 30 Mar 2003
Posts: 955

PostPosted: Tue Aug 26, 2003 7:31 pm    Post subject: Reply with quote

so you have a computer and you want to access it from another computer?
Back to top
View user's profile Send private message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 7:32 pm    Post subject: Reply with quote

I want to access it over the internet...
Back to top
View user's profile Send private message
revresxunil
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2002
Posts: 129
Location: UW Madison

PostPosted: Tue Aug 26, 2003 7:57 pm    Post subject: Reply with quote

Provider might be blocking port 80. Charter communications does that (I have charter)
Back to top
View user's profile Send private message
Clete2
Guru
Guru


Joined: 09 Aug 2003
Posts: 530

PostPosted: Tue Aug 26, 2003 8:02 pm    Post subject: Reply with quote

I hate charter, but have it... and my port 80 is not blocked...
Back to top
View user's profile Send private message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 8:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
scriptkiddie
l33t
l33t


Joined: 30 Mar 2003
Posts: 955

PostPosted: Tue Aug 26, 2003 8:11 pm    Post subject: Reply with quote

one easy way of doing this:
go to www.dnsalias.org
sign up for a site
ssh http://yoursite.homelinux.net


then your good to go
Back to top
View user's profile Send private message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Tue Aug 26, 2003 8:24 pm    Post subject: Reply with quote

Clicked on your link and web page is non-existant...
_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 8:27 pm    Post subject: Reply with quote

DId it say connection refused?
Back to top
View user's profile Send private message
scriptkiddie
l33t
l33t


Joined: 30 Mar 2003
Posts: 955

PostPosted: Tue Aug 26, 2003 8:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 8:28 pm    Post subject: Reply with quote

bash-2.05b# ssh 192.168.0.2
ssh: connect to host 192.168.0.2 port 22: Connection refused
Back to top
View user's profile Send private message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 8:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
jsambz
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Tue Aug 26, 2003 9:16 pm    Post subject: Reply with quote

Am I missing something? Is attbi/comcast blocking all ports or do I need to do something else?
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Tue Aug 26, 2003 11:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum