Networking Forums

Networking Forums > Computer Networking > Linux Networking > telnet connection problem

Reply
Thread Tools Display Modes

telnet connection problem

 
 
James T. Studebaker
Guest
Posts: n/a

 
      12-07-2003, 03:38 AM
I have telnet server running on linux
the ip address of the linux box is 192.168.0.2
chkconfig confirms the server is running
When I try to connect by telnet to 192.168.0.2 from 192.168.0.4 on the same
lan i get the message:

C:\>telnet 192.168.0.2
Connecting To 192.168.0.2...Could not open connection to the host, on port
23: Connect failed

What would be blocking the connection?
--

Thank you
James T. Studebaker


 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      12-07-2003, 04:24 AM
On Sun, 07 Dec 2003 04:38:05 GMT, James T. Studebaker wrote:
> I have telnet server running on linux
> the ip address of the linux box is 192.168.0.2
> chkconfig confirms the server is running
> When I try to connect by telnet to 192.168.0.2 from 192.168.0.4 on the same
> lan i get the message:
>
> C:\>telnet 192.168.0.2
> Connecting To 192.168.0.2...Could not open connection to the host, on port
> 23: Connect failed
>
> What would be blocking the connection?



Please read http://www.catb.org/~esr/faqs/smart-questions.html

Always post Vendor distribution and release level so we can give better answers.
Different distros have different commands, files, and links to files.
Even happens between release levels of the same distribution.

man xinetd
man hosts.allow
man tcpd
man 5 hosts_access
Check the firewall

and if all else fails, there is a very
large Frequently Asked Question (FAQ) search engine found at
http://groups.google.com/advanced_group_search
Connect failed telnet in the first box
*linux* in the Newsgroup, pick English

If you would like to see some comments on telnet
http://groups.google.com/advanced_group_search
Xns93FD6FED9472jbuserspc9org@130.179.16.24 in the message id box

and view complete thread

 
Reply With Quote
 
ynotssor
Guest
Posts: n/a

 
      12-07-2003, 08:56 AM
"James T. Studebaker" <(E-Mail Removed)> wrote in message
news:N8yAb.447620$Tr4.1250847@attbi_s03

> I have telnet server running on linux
> the ip address of the linux box is 192.168.0.2
> chkconfig confirms the server is running
> When I try to connect by telnet to 192.168.0.2 from 192.168.0.4 on
> the same lan i get the message:
>
> C:\>telnet 192.168.0.2
> Connecting To 192.168.0.2...Could not open connection to the host, on
> port 23: Connect failed
>
> What would be blocking the connection?


--
use hotmail for any email replies


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
Doug Mitton
Guest
Posts: n/a

 
      12-07-2003, 11:56 AM
"James T. Studebaker" <(E-Mail Removed)> wrote:

>I have telnet server running on linux
>the ip address of the linux box is 192.168.0.2
>chkconfig confirms the server is running
>When I try to connect by telnet to 192.168.0.2 from 192.168.0.4 on the same
>lan i get the message:
>
>C:\>telnet 192.168.0.2
>Connecting To 192.168.0.2...Could not open connection to the host, on port
>23: Connect failed
>
>What would be blocking the connection?


You may have a firewall running on the Linux machine ... as root try
`iptables -L`
to see if there are any rules blocking telnet!
--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      12-07-2003, 08:25 PM
James T. Studebaker <(E-Mail Removed)> randomly warbled in
comp.os.linux.networking:

> I have telnet server running on linux
> the ip address of the linux box is 192.168.0.2
> chkconfig confirms the server is running


Useless.
Run 'netstat -ltp' to PROVE that telnetd (or inetd) is listening on port
23.

> When I try to connect by telnet to 192.168.0.2 from 192.168.0.4 on the
> same lan i get the message:
>
> C:\>telnet 192.168.0.2
> Connecting To 192.168.0.2...Could not open connection to the host, on
> port 23: Connect failed
>
> What would be blocking the connection?


Many, many things...

- Linux iptables firewall - run 'iptables -L' to see whether there are
any rules active
- man hosts.allow, hosts.deny - these apply to ALL (x)inetd services!

And, of course, the old favourite: is there actually a connection
between these systems ?

Prove this by studying the output of route -n and ifconfig, optionally
ipconfig on Windoze as well.

If you don't know how to troubleshoot the network itself, do a google
for any TCP/IP tutorial, and check back later...

--
Jeroen Geilman

All your bits are belong to us.

 
Reply With Quote
 
MaX
Guest
Posts: n/a

 
      12-09-2003, 12:22 PM
Also is telnetd listening on the IP 192.168.0.2 and not just localhost
127.0.0.1..??

Nmap is a life saver here; nmap -sT 192.168.0.2


--
..¤¤°MaX°¤¤.
Cold and silent soiled face I will wash it all away...

"Jeroen Geilman" <(E-Mail Removed)> wrote in message
news:3fd38d11$0$211$(E-Mail Removed)...
> James T. Studebaker <(E-Mail Removed)> randomly warbled in
> comp.os.linux.networking:
>
> > I have telnet server running on linux
> > the ip address of the linux box is 192.168.0.2
> > chkconfig confirms the server is running

>
> Useless.
> Run 'netstat -ltp' to PROVE that telnetd (or inetd) is listening on port
> 23.
>
> > When I try to connect by telnet to 192.168.0.2 from 192.168.0.4 on the
> > same lan i get the message:
> >
> > C:\>telnet 192.168.0.2
> > Connecting To 192.168.0.2...Could not open connection to the host, on
> > port 23: Connect failed
> >
> > What would be blocking the connection?

>
> Many, many things...
>
> - Linux iptables firewall - run 'iptables -L' to see whether there are
> any rules active
> - man hosts.allow, hosts.deny - these apply to ALL (x)inetd services!
>
> And, of course, the old favourite: is there actually a connection
> between these systems ?
>
> Prove this by studying the output of route -n and ifconfig, optionally
> ipconfig on Windoze as well.
>
> If you don't know how to troubleshoot the network itself, do a google
> for any TCP/IP tutorial, and check back later...
>
> --
> Jeroen Geilman
>
> All your bits are belong to us.
>



 
Reply With Quote
 
Howitzer
Guest
Posts: n/a

 
      12-18-2003, 04:25 AM
If your various servers only show up on 127.0.0.1 and not on 192.x.x.x what
remedy is necessary?

I've added an alias to /etc/hosts
I've added all my home networked IP's to hosts.allow

No matter what I do, the 192.x.x.x does not have my ssh/ftp/... services.
This address only has things link microsoft_ns, UPnP and such.


"MaX" <(E-Mail Removed)> wrote in message news:gsuga1-(E-Mail Removed)...
> Also is telnetd listening on the IP 192.168.0.2 and not just localhost
> 127.0.0.1..??
>
> Nmap is a life saver here; nmap -sT 192.168.0.2
>
>
> --
> .¤¤°MaX°¤¤.
> Cold and silent soiled face I will wash it all away...
>
> "Jeroen Geilman" <(E-Mail Removed)> wrote in message
> news:3fd38d11$0$211$(E-Mail Removed)...
> > James T. Studebaker <(E-Mail Removed)> randomly warbled in
> > comp.os.linux.networking:
> >
> > > I have telnet server running on linux
> > > the ip address of the linux box is 192.168.0.2
> > > chkconfig confirms the server is running

> >
> > Useless.
> > Run 'netstat -ltp' to PROVE that telnetd (or inetd) is listening on port
> > 23.
> >
> > > When I try to connect by telnet to 192.168.0.2 from 192.168.0.4 on the
> > > same lan i get the message:
> > >
> > > C:\>telnet 192.168.0.2
> > > Connecting To 192.168.0.2...Could not open connection to the host, on
> > > port 23: Connect failed
> > >
> > > What would be blocking the connection?

> >
> > Many, many things...
> >
> > - Linux iptables firewall - run 'iptables -L' to see whether there are
> > any rules active
> > - man hosts.allow, hosts.deny - these apply to ALL (x)inetd services!
> >
> > And, of course, the old favourite: is there actually a connection
> > between these systems ?
> >
> > Prove this by studying the output of route -n and ifconfig, optionally
> > ipconfig on Windoze as well.
> >
> > If you don't know how to troubleshoot the network itself, do a google
> > for any TCP/IP tutorial, and check back later...
> >
> > --
> > Jeroen Geilman
> >
> > All your bits are belong to us.
> >

>
>



 
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
Telnet Problem Joe Hesse Linux Networking 3 08-29-2007 04:31 PM
Telnet problem albert Linux Networking 9 11-04-2004 01:31 PM
a problem with telnet Roberto Sacchetti Linux Networking 6 07-08-2004 01:06 PM
telnet/ftp problem kiran Linux Networking 0 12-18-2003 02:51 PM
telnet problem Weiguang Shi Linux Networking 10 12-05-2003 12:51 AM



1 2 3 4 5 6 7 8 9 10 11