LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem with telnet (https://www.linuxquestions.org/questions/linux-networking-3/problem-with-telnet-4175412631/)

thomas2004ch 06-21-2012 04:46 AM

Problem with telnet
 
Hi,

I have a LINUX machine called machine-B. As I use the telnet to connect the machine-A as follow:

telnet machine-A 7080

It take very long and no result returen. I think maybe I have to configue the hosts.allow?


Thomas

kbp 06-21-2012 05:59 AM

There are a lot of possibilities, can you tell us what the application is you're trying to connect to ?

cospengle 06-21-2012 08:47 AM

Can you ping each device from the other?

jefro 06-21-2012 01:40 PM

telnet machine-A 7080

I hope you mean telnet boxname:7080 or do you mean the name of the computer is really machine-a 7080?

I'd just start telnet. Then I'd use open to the ip address of that box.

Ping may or may not work but it can't hurt to try. How do you resolve names on your lan, hosts file?

Reuti 06-22-2012 09:39 AM

Quote:

Originally Posted by jefro (Post 4708741)
telnet machine-A 7080

I hope you mean telnet boxname:7080 or do you mean the name of the computer is really machine-a 7080?

The telnet syntax doesn’t need a colon to specify the port. So the initial syntax was correct.


All times are GMT -5. The time now is 01:25 AM.