Networking Forums

Networking Forums > Computer Networking > Linux Networking > Abyss Web Server problem

Reply
Thread Tools Display Modes

Abyss Web Server problem

 
 
The Pict
Guest
Posts: n/a

 
      08-08-2004, 09:50 AM
A fter installing the Abyss WebServer, I find I can view the default
web page on my internal network. The WebServe uses port 8000 by
default.

I can go to any machine on my network and enter 192.168.0.5:8000
and I then see the default Abyss page.

However, to view the web page from the internet, dialling up with my
laptop and entering my IP address XX.XX.XXX.XXX, the page times out.

I am running the page behind a router and have set Port Forwarding to
the machine running the Web Server. I have also temporarily dropped
the firewall on 192.168.0.5

The only way to see it from the internet is to enter
XX.XX.XXX.XXX:8000

Before attempting the Abyss Web Server I was running the Apache
default page and could view it from the Internet without entering the
port number. The port address for Apache is 80 and I had port
forwarding set to 80

Why am I having to enter the port number after the address ??

 
Reply With Quote
 
 
 
 
Franklin M. Siler
Guest
Posts: n/a

 
      08-08-2004, 10:20 AM
The Pict wrote:
> A fter installing the Abyss WebServer, I find I can view the default
> web page on my internal network. The WebServe uses port 8000 by
> default.
>
> I can go to any machine on my network and enter 192.168.0.5:8000
> and I then see the default Abyss page.
>
> However, to view the web page from the internet, dialling up with my
> laptop and entering my IP address XX.XX.XXX.XXX, the page times out.
>
> I am running the page behind a router and have set Port Forwarding to
> the machine running the Web Server. I have also temporarily dropped
> the firewall on 192.168.0.5
>
> The only way to see it from the internet is to enter
> XX.XX.XXX.XXX:8000
>

Are you sure you forwarded port 80 to port 8000 on the internal machine?
Sounds like you're forwarding 8000 to internal 8000.

--
Franklin M. Siler UIUC: Undergraduate in Electrical Engineering
Marching Illini Trumpets, Basketball Band Staff, ACM SigMation
http://umgawa.bands.uiuc.edu/~fsiler/
 
Reply With Quote
 
The Pict
Guest
Posts: n/a

 
      08-08-2004, 12:07 PM
The router is a Netgear RP114 and I have the "Start Port" set to 8000
and the "End Port" set to 8000 on 192.168.0.5 which is the machine
running Abyss

As I say, prevously, I had that set to Port 80 and Apache would show
from the internet.

I thought all I would have to do would be change 80 to 8000

I am a learer in this field

TIA
 
Reply With Quote
 
Franklin M. Siler
Guest
Posts: n/a

 
      08-08-2004, 12:24 PM
The Pict wrote:
> The router is a Netgear RP114 and I have the "Start Port" set to 8000
> and the "End Port" set to 8000 on 192.168.0.5 which is the machine
> running Abyss
>
> As I say, prevously, I had that set to Port 80 and Apache would show
> from the internet.


That is because Apache is set to bind to port 80 on the server.
>
> I thought all I would have to do would be change 80 to 8000
>

Yes, but you need to make sure that port 80 externally gets translated
to port 8000 on your server.

you evidently want the following:

<outside world> port 80 ----> NAT router ----> 192.168.0.5 port 8000
^^
most routers have this capability. Perhaps your router isn't capable of
performing this translation, in which case you can either keep using it
on port 8000 or you can change the port the daemon uses.

> I am a learer in this field

a learer eh? Believe it or not, most geeks notice spelling errors and
find them quite aggravating, so use spell check .


--
Franklin M. Siler UIUC: Undergraduate in Electrical Engineering
Marching Illini Trumpets, Basketball Band Staff, ACM SigMation
http://umgawa.bands.uiuc.edu/~fsiler/
 
Reply With Quote
 
The Pict
Guest
Posts: n/a

 
      08-08-2004, 12:43 PM

>you evidently want the following:
>
><outside world> port 80 ----> NAT router ----> 192.168.0.5 port 8000
> ^^
>most routers have this capability. Perhaps your router isn't capable of
>performing this translation, in which case you can either keep using it
>on port 8000 or you can change the port the daemon uses.


Yes I had thought of that but when I changed the port within Abyss to
80 and tried from the Internet, I still got the Apache default page.

How would I disable Apache ?

And as for my spelling, it was just a matter of not picking up my
glasses !!!
 
Reply With Quote
 
Franklin M. Siler
Guest
Posts: n/a

 
      08-08-2004, 12:48 PM
The Pict wrote:

>>you evidently want the following:
>>
>><outside world> port 80 ----> NAT router ----> 192.168.0.5 port 8000
>> ^^
>>most routers have this capability. Perhaps your router isn't capable of
>>performing this translation, in which case you can either keep using it
>>on port 8000 or you can change the port the daemon uses.

>
>
> Yes I had thought of that but when I changed the port within Abyss to
> 80 and tried from the Internet, I still got the Apache default page.
>
> How would I disable Apache ?


I'd use apachectl or whatever script your distro might provide.

>
> And as for my spelling, it was just a matter of not picking up my
> glasses !!!

no problem.

--
Franklin M. Siler UIUC: Undergraduate in Electrical Engineering
Marching Illini Trumpets, Basketball Band Staff, ACM SigMation
http://umgawa.bands.uiuc.edu/~fsiler/
 
Reply With Quote
 
Franklin M. Siler
Guest
Posts: n/a

 
      08-08-2004, 12:58 PM
Franklin M. Siler wrote:

>> The Pict wrote:

[snip]
>> How would I disable Apache ?

>
>
> I'd use apachectl or whatever script your distro might provide.
>

My apologies; that's how you would stop the daemon without rebooting.
If you want to actually disable Apache, you're going to have to play
with an rc file somewhere...on debian they're in /etc/rcX.d/, where X is
the runlevel in question. You want to remove the symlinks that start
apache, and also remove the corresponding shutdown entry if it's there.
I don't remember how other distros set up their rc files...been
running a lot of *BSD lately.

--
Franklin M. Siler UIUC: Undergraduate in Electrical Engineering
Marching Illini Trumpets, Basketball Band Staff, ACM SigMation
http://umgawa.bands.uiuc.edu/~fsiler/
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      08-08-2004, 01:21 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Franklin M. Siler <(E-Mail Removed)> suggested:
> Franklin M. Siler wrote:


>>> The Pict wrote:

> [snip]
>>> How would I disable Apache ?

[..]
>> I'd use apachectl or whatever script your distro might provide.
>>

> My apologies; that's how you would stop the daemon without rebooting.
> If you want to actually disable Apache, you're going to have to play
> with an rc file somewhere...on debian they're in /etc/rcX.d/, where X is
> the runlevel in question. You want to remove the symlinks that start
> apache, and also remove the corresponding shutdown entry if it's there.


On many popular distro, whichever the OP runs, one can use
'chkconfig' to ease runlevel link handling. 'man chkconfig' should
have more info, if applicable.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBFijUAkPEju3Se5QRAjtdAJ9ewoQaNPbKGWbZaUinG5 6yTwiBRgCeLhve
Eyr0fHvhaf8OXzoqDPs3Jq8=
=sixD
-----END PGP SIGNATURE-----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with IP on secondary DNS server & Ras Server Kim Windows Networking 1 11-02-2006 06:00 PM
Problem with 2nd NIC and SQL Server Randy K Windows Networking 4 07-28-2006 12:50 AM
Network Problem using Visnetic Mail Server on Windows Server 2003 sp1 Gustavo Medina via WinServerKB.com Windows Networking 0 05-09-2005 09:54 PM
Windows 2000 server problem on a Windows 2003 server domain =?Utf-8?B?U2Fsb25nZQ==?= Windows Networking 1 02-09-2005 03:16 PM
dyn dns & web server problem Michael Powe Linux Networking 2 11-02-2003 07:39 PM



1 2 3 4 5 6 7 8 9 10 11