Solved

telnet on linux

Posted on 2000-05-10
9
345 Views
Last Modified: 2010-04-20
I have a linux box at work and I could telnet to the outside world. However, when I tried to telnet from the outside world back to it, I got the following error.

"telnet: Unable to conect to remote host: Connection Refused"


Can anyone help?
0
Comment
Question by:qtruong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 

Expert Comment

by:li0n
ID: 2797812
your comp at work must have a diff telnet port.. or it's been closed..
you can telnet from that computer couse you dont need to have a telnet port open to make a telnet..
the only way for you to telnet to you'r comp at work.. is to open a telnet port..
0
 

Expert Comment

by:antozi
ID: 2798153
How do you open the telnet port?
0
 

Expert Comment

by:sreeramkr
ID: 2802123
check out whether telnet has been disabled(is in teh /etc area. just grep for telnet in etc area. I have forgotten teh particular file). if the telnet option is commented, uncomment it and give a init 3 command or please reboot the system.

u have linuxconf to configure telnet ports etc.. i hope thru this u can open telnet port if it is closed.
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 1

Expert Comment

by:nommer
ID: 2831427
you are not giving enought information.
is your computer in a local lan.. with access to the out side world.
possible problem..

is there a fire wall setup.???

NEInfo...

nommer.
0
 
LVL 1

Expert Comment

by:patowic
ID: 2834433
Are you even running telnetd on your home linux box?

you can manually start it by typing, as root, /usb/sbin/in.telnetd

THEN try to connect to it from outside...

0
 

Expert Comment

by:efedorov
ID: 2837142
Well, not enough info, but if your linux box has ip addr from private scope like 10.9.8.7 (another words your linux box not trully on internet),then first you have to set connection to your lan dial-up or VPN and get through an authentication, then over that connection you can telnet your linux box. I assumed that your telnet port is opened and your firewall not an obsticale for tcp connection on port 23.
0
 
LVL 2

Expert Comment

by:vipulgupta
ID: 2992814
1) Goto /etc/
2) edit hosts.allow file and uncomment this line

in.telnetd: ALL: ALLOW

This should allow access to anyone

Make sure telnet daemon is runnin

Good Luck
-Vipul Gupta
0
 
LVL 2

Accepted Solution

by:
vipulgupta earned 50 total points
ID: 2992893
1) Goto /etc/
2) edit hosts.allow file and uncomment this line

in.telnetd: ALL: ALLOW

This should allow access to anyone

Make sure telnet daemon is runnin

Good Luck
-Vipul Gupta
0
 

Author Comment

by:qtruong
ID: 3205656
Answer accepted
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question