telnet: connect to address 127.0.0.1: Connection refused

telnet: connect to address 127.0.0.1: Connection refused

Post by phh.. » Mon, 20 Nov 2006 23:06:55



Dear All

Quote:>From searching the archives, I got this:

?Go to /etc/xinetd.d/telnet

and edit the line which says **disable = yes** so it reads
**disable = no** (ignore the **)

After that change restart xinetd with the command

service xinetd restart?

that I have followed, but still getting:

$ telnet localhost 9734
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
$

I am running Fedora Core 6 and I have the telnet-server package
installed.

Any further ideas?

Thanks in advance,

Paul

 
 
 

telnet: connect to address 127.0.0.1: Connection refused

Post by David Schwart » Mon, 20 Nov 2006 23:39:11



> $ telnet localhost 9734
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: Unable to connect to remote host: Connection refused
> $

> I am running Fedora Core 6 and I have the telnet-server package
> installed.

Where did '9734' come from?

DS

 
 
 

telnet: connect to address 127.0.0.1: Connection refused

Post by phh.. » Mon, 20 Nov 2006 23:43:21



> > $ telnet localhost 9734
> > Trying 127.0.0.1...
> > telnet: connect to address 127.0.0.1: Connection refused
> > telnet: Unable to connect to remote host: Connection refused
> > $

> > I am running Fedora Core 6 and I have the telnet-server package
> > installed.

> Where did '9734' come from?

I am trying to use the Ryacas package and from its site I get the
following:

?2. Telnet problems. If you are unable to get a connection at all try
to connect to yacas manually using:
   telnet localhost 9734
and if that fails there is likely a configuration problem with telnet
on your machine.?

Ryacas is a package of R and its site is at

http://code.google.com/p/ryacas/

Paul

 
 
 

telnet: connect to address 127.0.0.1: Connection refused

Post by C.J. Steel » Tue, 21 Nov 2006 00:02:27


Use `netstat -nl | grep -- ^tcp` to identify listening services and
`lsof -i:<port>` (where "<port>" is the port-number identified by
netstat) to identify what service is listening on said port.  Once
you've verified what port you're connecting to, show us a listing of
your ipchains (`iptables -nL`) rules.

If `netstat` and `lsof` are foreign to you, use `nmap -p 1-65535
localhost` to see what services you've got open...

-C



> > > $ telnet localhost 9734
> > > Trying 127.0.0.1...
> > > telnet: connect to address 127.0.0.1: Connection refused
> > > telnet: Unable to connect to remote host: Connection refused
> > > $

> > > I am running Fedora Core 6 and I have the telnet-server package
> > > installed.

> > Where did '9734' come from?I am trying to use the Ryacas package and from its site I get the
> following:

> ?2. Telnet problems. If you are unable to get a connection at all try
> to connect to yacas manually using:
>    telnet localhost 9734
> and if that fails there is likely a configuration problem with telnet
> on your machine.?

> Ryacas is a package of R and its site is at

> http://code.google.com/p/ryacas/

> Paul

 
 
 

telnet: connect to address 127.0.0.1: Connection refused

Post by phh.. » Tue, 21 Nov 2006 00:23:58



> Use `netstat -nl | grep -- ^tcp` to identify listening services and
> `lsof -i:<port>` (where "<port>" is the port-number identified by
> netstat) to identify what service is listening on said port.  Once
> you've verified what port you're connecting to, show us a listing of
> your ipchains (`iptables -nL`) rules.

> If `netstat` and `lsof` are foreign to you, use `nmap -p 1-65535
> localhost` to see what services you've got open...

I get this:

# nmap -p 1-65535 localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-11-19
15:21 WET
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 65522 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
23/tcp    open  telnet
25/tcp    open  smtp
111/tcp   open  rpcbind
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
631/tcp   open  ipp
885/tcp   open  unknown
904/tcp   open  unknown
2207/tcp  open  unknown
2208/tcp  open  unknown
8000/tcp  open  http-alt
10000/tcp open  snet-sensor-mgmt

Nmap finished: 1 IP address (1 host up) scanned in 3.442 seconds
#

Paul



> > > > $ telnet localhost 9734
> > > > Trying 127.0.0.1...
> > > > telnet: connect to address 127.0.0.1: Connection refused
> > > > telnet: Unable to connect to remote host: Connection refused
> > > > $

> > > > I am running Fedora Core 6 and I have the telnet-server package
> > > > installed.

> > > Where did '9734' come from?I am trying to use the Ryacas package and from its site I get the
> > following:

> > ?2. Telnet problems. If you are unable to get a connection at all try
> > to connect to yacas manually using:
> >    telnet localhost 9734
> > and if that fails there is likely a configuration problem with telnet
> > on your machine.?

> > Ryacas is a package of R and its site is at

> > http://code.google.com/p/ryacas/

> > Paul

 
 
 

telnet: connect to address 127.0.0.1: Connection refused

Post by C.J. Steel » Tue, 21 Nov 2006 05:56:32


Well, judeing from the output of nmap, I think it safe to say we know
why you're getting a connection refused when you try to telnet to
9734... there's nothing running on 9734.

I bet you don't have any trouble connecting to the standard telnet
port, so what happens when you just `telnet localhost`?

Cheers,
-C



> > Use `netstat -nl | grep -- ^tcp` to identify listening services and
> > `lsof -i:<port>` (where "<port>" is the port-number identified by
> > netstat) to identify what service is listening on said port.  Once
> > you've verified what port you're connecting to, show us a listing of
> > your ipchains (`iptables -nL`) rules.

> > If `netstat` and `lsof` are foreign to you, use `nmap -p 1-65535
> > localhost` to see what services you've got open...I get this:

> # nmap -p 1-65535 localhost

> Starting Nmap 4.11 (http://www.insecure.org/nmap/) at 2006-11-19
> 15:21 WET
> Interesting ports on localhost.localdomain (127.0.0.1):
> Not shown: 65522 closed ports
> PORT      STATE SERVICE
> 22/tcp    open  ssh
> 23/tcp    open  telnet
> 25/tcp    open  smtp
> 111/tcp   open  rpcbind
> 139/tcp   open  netbios-ssn
> 445/tcp   open  microsoft-ds
> 631/tcp   open  ipp
> 885/tcp   open  unknown
> 904/tcp   open  unknown
> 2207/tcp  open  unknown
> 2208/tcp  open  unknown
> 8000/tcp  open  http-alt
> 10000/tcp open  snet-sensor-mgmt

> Nmap finished: 1 IP address (1 host up) scanned in 3.442 seconds
> #

> Paul



> > > > > $ telnet localhost 9734
> > > > > Trying 127.0.0.1...
> > > > > telnet: connect to address 127.0.0.1: Connection refused
> > > > > telnet: Unable to connect to remote host: Connection refused
> > > > > $

> > > > > I am running Fedora Core 6 and I have the telnet-server package
> > > > > installed.

> > > > Where did '9734' come from?I am trying to use the Ryacas package and from its site I get the
> > > following:

> > > ?2. Telnet problems. If you are unable to get a connection at all try
> > > to connect to yacas manually using:
> > >    telnet localhost 9734
> > > and if that fails there is likely a configuration problem with telnet
> > > on your machine.?

> > > Ryacas is a package of R and its site is at

> > >http://code.google.com/p/ryacas/

> > > Paul

 
 
 

telnet: connect to address 127.0.0.1: Connection refused

Post by David Schwart » Tue, 21 Nov 2006 07:53:39



> I am trying to use the Ryacas package and from its site I get the
> following:

> ?2. Telnet problems. If you are unable to get a connection at all try
> to connect to yacas manually using:
>    telnet localhost 9734
> and if that fails there is likely a configuration problem with telnet
> on your machine.?

> Ryacas is a package of R and its site is at

> http://code.google.com/p/ryacas/

Okay, you have some massive confusion. A 'telnet server' is used to
provide the telnet service and has nothing to do with some other
services, such as Ryacas. The confusion comes from the fact that you
are using the telnet *client* to connect to a Ryacas server. Whether or
not you have a telnet server won't make any difference, since that's
not what you're trying to connect to.

The steps that you took to get your telnet server running aren't going
to help you at all. You need to get Ryacas running, and then you can
connect to it with any client you want.

DS

 
 
 

telnet: connect to address 127.0.0.1: Connection refused

Post by phh.. » Tue, 21 Nov 2006 08:55:42



Quote:> > I am trying to use the Ryacas package and from its site I get the
> > following:

> > ?2. Telnet problems. If you are unable to get a connection at all try
> > to connect to yacas manually using:
> >    telnet localhost 9734
> > and if that fails there is likely a configuration problem with telnet
> > on your machine.?

> > Ryacas is a package of R and its site is at

> >http://code.google.com/p/ryacas/Okay, you have some massive confusion. A 'telnet server' is used to
> provide the telnet service and has nothing to do with some other
> services, such as Ryacas. The confusion comes from the fact that you
> are using the telnet *client* to connect to a Ryacas server. Whether or
> not you have a telnet server won't make any difference, since that's
> not what you're trying to connect to.

> The steps that you took to get your telnet server running aren't going
> to help you at all. You need to get Ryacas running, and then you can
> connect to it with any client you want.

Thanks to all. The problem is solved and the solution is at

http://marc.theaimsgroup.com/?l=r-help&m=116397290826793&w=2

Paul

Paul

 
 
 

1. telnet: connect to address 127.0.0.1: Connection refused

Hi,

I have redhat 8 on i386.

When I installed the 'telnet-server-0.17-23.i386.rpm' package in my
machine (narcea) I got the next message:


warning: telnet-server-0.17-23.i386.rpm: V3 DSA signature: NOKEY, key
ID db42a60e

After I tried to connect:


Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

How can I config the telnet service ?

Thanks in advance,
Jose Luis.

2. Color pallettes for linux...

3. dhcp says: can't connect to (4999, 127.0.0.1) : Connection refused

4. Linux Network API

5. Why libwrap refused connection to telnet from 127.0.0.1

6. Matrox, XFree and NDA: the sokution?

7. ftp 127.0.0.1 : Connection refused !

8. Remote login as root

9. telnet 0 vs telnet `hostname` vs telnet 127.0.0.1

10. PPP connect - pppd: bad local IP address 127.0.0.1

11. telnet: Unable to connect to remote host: Connection refused, ok second or third try.

12. telnet: Unable to connect to remote host: Connection refused