LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-16-2006, 10:09 AM   #16
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30

No, on a differnt box on the same LAN http://192.168.0.6 does not take me to the 'It works.' page.
 
Old 10-16-2006, 10:17 AM   #17
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
No, entering http://192.168.0.6 on a different box does not work.
 
Old 10-16-2006, 11:06 AM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,207

Rep: Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543
If the noip client is working correctly your noip URL i.e dlw.no-ip.org should resolve to your external IP address. You can use whatsmyip.com to verify the IP address.

Your ISP may block webserver traffic and a firewall running on the webserver could block webserver traffic.
 
Old 10-16-2006, 01:38 PM   #19
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
What ip do you give to no-ip.com?
 
Old 10-16-2006, 01:45 PM   #20
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
OK, I appoligize for having misread your earlier statement. In order to get results from the outside, you will need to be able to access the resource from inside the network.

I suspect that the likely cause for this problem is related to the configuration of Apache. When I get home I will look to see if I can findout likely causes for Apache not to provide content to requesting hosts.
 
Old 10-16-2006, 01:52 PM   #21
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
I found the following in /etc/httpd/httpd.conf which I understand is what runs Apache. What should the 'Listen 0.0.0.0:80'be? Or, should it be as is?

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 0.0.0.0:80

Last edited by d1l2w3; 10-16-2006 at 01:59 PM.
 
Old 10-16-2006, 02:00 PM   #22
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,207

Rep: Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543
You do not need to give any IP to noip.com since that is the job of the noip client.
You do not need to change http.conf unless your ISP blocks port 80. Since you can not access the webserver from other PCs on your local network I assume a firewall is blocking access. Try turning the firewall off.
 
Old 10-16-2006, 02:03 PM   #23
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
Listen 0.0.0.0:80

The way that I read this, it seems like your instance of Apache should be set to accept request from all IP address on port 80 (which of course is the default for a web browser making an HTTP request).

Yet you do not seem to be able to get the web server to host a page to the requsting system that is lying on the same subnet. I know that this may seem like a silly question, but from the system on the same subnet, can you verify that you can ssh to your box (or barring that, can you at least ping the machine)?
 
Old 10-16-2006, 02:10 PM   #24
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
What does this mean?
can you verify that you can ssh to your box

I can ping all four boxes on the network from all directions. From each box in other words.

PING 192.168.0.6 (192.168.0.6) 56(84) bytes of data.
64 bytes from 192.168.0.6: icmp_seq=1 ttl=64 time=0.051 ms
64 bytes from 192.168.0.6: icmp_seq=2 ttl=64 time=0.045 ms

--- 192.168.0.6 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.045/0.048/0.051/0.003 ms
[don@server ~]$
 
Old 10-16-2006, 02:20 PM   #25
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
to ssh to a box is to create a secure shell connection. This is similar to creating a telnet connetction to a system, but it does not tranmit the information about the session in clear text on the wire, which is why many distrobutions have made ssh readily available.

I was thinking that this would be a good way to verify that you have no issues in establishing a network connection. But the ping should work for our purposes. So to recap, we are comfortable that from the other systems on this network, we can reach the 'web server' via the network, the http.conf file appears to be configured in such a way as to accept port 80 request from all IP address, yet we do not seem to be able to receive a response to a HTTP request from this system (even on the local network).

Does that seem to sum up where we currently stand?
 
Old 10-16-2006, 02:27 PM   #26
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
If I understand it all correctly, yes, that seems to be the problem.
I can ping in all directions and to 192.168.0.6, the web server.
But, http does not work on the net or the LAN.

I think that where things stand.
 
Old 10-16-2006, 02:41 PM   #27
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
OK, with that in mind I will do some digging on Apache and see what goodies I can find. Once we are comfortable with getting Apache to work for you on the LAN then we can go back at take a look at where we are with the no-ip solution.
 
Old 10-16-2006, 02:41 PM   #28
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
Ugh... golly, gee whiz.... I kinda hate to admit this... but the httpd service was off. I turned it on and http://192.168.0.6 now works on the LAN but www.dlw.no-ip.org does not. But, it might work on your end.

Sorry about that.
Go ahead, call me names, it's all right.
 
Old 10-16-2006, 02:54 PM   #29
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
No worries,

I am still unable to access anything from that URL, but at least we now know that the server is serving up web pages. It is possible as mentioned by michaelk earlier in the thread that your ISP may be our right blocking port 80 inbound to your connection.

One test for this would be to see if no-ip supports operations on non-traditional ports. If they do we can change the http.conf to answer request on some other port number (such as 9485) and then configure your router to forward that port and then make a web request to see if it goes through.

I will see if I find anything on no-ip documation for this.
 
Old 10-16-2006, 02:57 PM   #30
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
Could it be in the DSL router?
I think I got it change to redirect to port 80.

I'll check again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get my external IP address from behind a NAT? Moses420ca Linux - Networking 23 01-25-2013 05:35 AM
Cannot see my webserver using the external IP address shazam75 Linux - Networking 12 09-30-2005 08:32 PM
How do I get external IP address of router... The_JinJ Linux - Networking 2 02-05-2005 07:43 AM
SSH to an external IP address BluePyre Linux - Software 2 07-14-2004 06:10 PM
external ip address dica Linux - Networking 8 10-05-2003 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration