LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2005, 08:16 PM   #1
ibrewale
LQ Newbie
 
Registered: Jun 2004
Distribution: debian
Posts: 25

Rep: Reputation: 15
localhost not working


I am running debian 3.1, with kernel 2.6.11. It is a hd install of knoppix 3.9

I have loaded gnump3d and am trying to view my music directory, which should be under http://localhost:8888

While trying to view, my browser never loads the page. There is no error message, it just sits there trying to load.

Same can be said for just http://localhost/ or telnet localhost, or telnet specifically 127.0.0.1 etc

I have checked my firewall settings, which is set up to allow http serving.

On a previous knoppix install, I did set up my own web server for ampache (another music server) succesfully.

Can someone give me some things to check?

Oh, I have restarted apachectl

Thanks

ibrewale
 
Old 07-26-2005, 08:24 PM   #2
ibrewale
LQ Newbie
 
Registered: Jun 2004
Distribution: debian
Posts: 25

Original Poster
Rep: Reputation: 15
If this helps, I can ping my laptop on my network. I cannot ping my own machine though.

example
Code:
PING laptop1.gateway.2wire.net (172.16.1.33): 56 data bytes
64 bytes from 172.16.1.33: icmp_seq=0 ttl=128 time=5.3 ms
64 bytes from 172.16.1.33: icmp_seq=1 ttl=128 time=3.2 ms
64 bytes from 172.16.1.33: icmp_seq=2 ttl=128 time=2.2 ms
64 bytes from 172.16.1.33: icmp_seq=3 ttl=128 time=2.3 ms
64 bytes from 172.16.1.33: icmp_seq=4 ttl=128 time=2.3 ms
64 bytes from 172.16.1.33: icmp_seq=5 ttl=128 time=2.7 ms
64 bytes from 172.16.1.33: icmp_seq=6 ttl=128 time=2.9 ms

thanks

ibrewale
 
Old 07-26-2005, 08:49 PM   #3
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Note that the port for this is 8888.

Standard web is on port 80. You will probably need to set your firewall to allow connections to port 8888.

You will only be able to telnet to localhost if your are running a telnet daemon, by default you are not. You will only be able to http://localhost if you are running some sort of webserver (apache) locally.

Try this:

netstat -a -n | grep 8888

See if you have some output like this:

tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN

If you do, your service is listening for a connection.

Hope this helps!

MrKnisely
 
Old 07-26-2005, 09:03 PM   #4
ibrewale
LQ Newbie
 
Registered: Jun 2004
Distribution: debian
Posts: 25

Original Poster
Rep: Reputation: 15
I do have apache running locally.

Here is the output for netstat -a -n |grep 8888


Code:
netstat -a -n |grep 8888
tcp        0      1 172.16.1.34:2899        127.0.0.1:8888          SYN_SENT
I'm still searching.

Thanks

jerry
 
Old 07-26-2005, 09:32 PM   #5
ibrewale
LQ Newbie
 
Registered: Jun 2004
Distribution: debian
Posts: 25

Original Poster
Rep: Reputation: 15
More information.

When I enter http//<my ip address>

It works, I pull up my default apache welcome page.

When I enter http://<my ip address:8888>

I get a connection refused message.

With that said, I added a line in my httpd.conf file to listen for port 8888
The initial configuration had just port 80, as expected.

I restarted apache, with no luck at http://<my ip address:8888>

My firewall has been set up to allow port 8888 access.

Any other things I should do?

Thanks

jerry
 
Old 07-27-2005, 09:41 PM   #6
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Is it apache that needs to listen on port 8888?

I thought we were trying to get gnump3d to listen on that port.

You have to excuse my ignorance to gnump3d... I've not used it.

Mike
 
  


Reply



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
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
localhost not working ibrewale Linux - Networking 2 08-06-2005 04:30 PM
Message from syslogd@localhost localhost kernel: Disabling IRQ #21 ylts Linux - Hardware 0 02-26-2005 08:01 AM
anonymous ftp not working on localhost rolfbeethoven Linux - Newbie 2 07-27-2004 03:01 AM
ftp localhost not working - RH 6.2 Kiwisheep Linux - Newbie 0 02-08-2002 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:09 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
Open Source Consulting | Domain Registration