"telnet: connect to address 127.0.0.1: Connection refused"
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
To show us what ports are active, and what is using them, could you post the output of this command run as root:
netstat -A inet -vepa
It would be helpful if you could post the command output inside "code" tags. If you've never used "code" tags before, you can make them available for your use by clicking on the "Go Advanced" button below the area where you type the text of your comment. Then click the "hash"/"pound"/"#" symbol which appears above the text area, and paste the output of the command between the "code" tags that clicking that symbol produces in the text area.
I really appreciate all 3 of you getting back to me so quickly. After double checking I think you are right about Telnet not being installed, but I don't want to get sidetracked because that is not really the issue.
This machine is running as a VM on my laptop. If I try to telnet to it from outside of the VM to a port which I know is listening the connection is refused. But, I am able to telnet to a listening port on any of my other VM's with no problem. That's why I think this has to do with one of Linux's extra security features like iptables or selinux.
I know that that the firewall is disabled, but I am not sure about selinux or anything similar. Thanks again for your input as all of it is greatly appreciated