LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2009, 02:46 PM   #1
criathar
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
127.0.0.1 connection refused


Hi everyone. This question is regarding fedora12.
Can someone tell me how to set up the port 8080 and or tell me why I cannot connect to localhost 127.0.0.1?

telnet: 127.0.0.1:8080: Name or service not known
127.0.0.1:8080: Unknown host

[root@impulse xe]# telnet 127.0.0.1
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@impulse xe]#


I tried to add port 8080 to firewall under other ports, but still doesn't work.
 
Old 11-27-2009, 03:53 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Opening a port in your firewall is not enough. There must be something listening on that port, so you can get an answer.
To see what ports are listening on your box, run:
Code:
netstat -tan|grep LISTEN
Also
Quote:
telnet: 127.0.0.1:8080: Name or service not known
is not correct. To telnet to a port different than the default port 23 you need to use:
Code:
telnet: 127.0.0.1 8080
Quote:
telnet: connect to address 127.0.0.1: Connection refused
That means that there is no telnend running on localhost. You have to install/start the telnet service in order to use it. For security reasons it's always better to keep telnet disabled and use ssh to connect to a remote host

Regards
 
1 members found this post helpful.
  


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
rndc: connect failed: 127.0.0.1#953: connection refused milindras Linux - Server 41 08-20-2013 05:33 AM
[SOLVED] outgoing messages met with error in maillog: connection refused by [127.0.0.1] sarsaeol Linux - Newbie 1 04-22-2008 04:28 PM
Apache; connection refused 127.0.0.1 error. Hal Linux - Newbie 6 04-18-2004 02:08 PM
Connection refused by [127.0.0.1] GraemeK Linux - Networking 6 09-03-2003 02:26 PM
telnet:connect to address 127.0.0.1: connection refused sdeven Linux - Networking 6 12-23-2002 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:22 AM.

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