Click to See Complete Forum and Search --> : Apache Question


red_over_blue
11-26-2002, 01:23 AM
Hello,

This is my first attempt at serving a web page from my PC. I am running Mandrake 9.0 and Apache, through a netgear RP614 router. I have Apache working so that if I use the LAN address in a browser, followed by the port (I am using 90 since some ISP will try to stop me from using 80), I get served the web page. However, if I use the IP address of the router (I have port 90 forwarded to the linux box), I get a "connection refused when attempting to contact... ".

I really don't know what I am doing, but I read the NHF's and any other howto I could find, but none of them seem to start "at the beginning"!

Any help would be appreciated. Thanks.

red_over_blue
11-27-2002, 02:04 PM
It seems that there isn't much traffic in the web serving section of this board since I've only got 16 views of this post.

Is there some part of a configuration file that states who I will allow apache to serve? If so, why would it serve me the web page on the LAN, but not over the web? I'm still trying to access the page with the same computer???

Godish
11-27-2002, 02:13 PM
Try connecting like this http://yourip:90

Vlad902
11-27-2002, 03:49 PM
Originally posted by Godish
Try connecting like this http://yourip:90

That should do it. Also maybe forwarding all port 90 connections to the Linux box's port 80 might work...

red_over_blue
12-02-2002, 02:02 AM
That is how I am doing it, ie:

http://123.45.678.910:90

I still get the same error, where

http://103.168.0.3:90

works fine. I also tried switching to port 80 and get the same results (switched in both httpd config file and router port forwarding).

Thanks for the suggestions so far.

emunoodle
12-02-2002, 02:40 AM
Are you trying http://123.45.678.910:90 from within your network or are you trying from a computer outside your network?

If you are trying from within your network then I think it has to do with the router. At home when I try to access my web page by using the ip address or the URL within my network I always get the router's config page instead of my web page. Try checking the manual or the web site for your router, or try getting one of your friends to go to your site from outside your network.

red_over_blue
12-02-2002, 02:42 AM
Thanks,

I'll try tomorrow when I'm at school. Maybe that's all it is (I hope!)