General :: Telnet Not Working For Localhost?

Apr 14, 2011

I've tried searching for this peculiar behavior, but couldn't find a solution that works for it - I have installed Redhat on my system and have a listener running on port 7878. I wanted to check if the port is accessible from a machine on the network, and so i telnet-ed from a remote machine and it worked. Now comes the weird problem - I used the same command (telnet xxx.xxx.xxx.xxx 7878) locally and it was able to telnet. However, if I try to connect using localhost, meaning, "telnet localhost 7878" or "telnet 127.0.0.1 7878", it gives me the following error:

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

Here is my /etc/hosts entry:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

[Code]....

Not sure where the problem is. I expect telnet to connect irrespective of whether i use the IP address OR localhost when i use telnet locally.

View 5 Replies


ADVERTISEMENT

General :: Telnet Localhost 143 And A No Login Gailed?

Jul 22, 2011

telnet localhost 143Trying 127.0.0.1...Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.a login rakesh@sanjiv.com rakesha NO Login failed.i have problem when Installing Courier-imap/imaps with Courierpassd .

View 1 Replies View Related

Ubuntu Servers :: Telnet Localhost 110 Says Trying ::1?

Aug 14, 2010

I am trying to set up postfix on my ubuntu server.When I try to login to the pop accounts through telnet

Code:
user@ubuntu1:/$ telnet localhost 110
Trying ::1...

[code]....

View 3 Replies View Related

CentOS 5 :: Postfix - Telnet Localhost 25 Connection Closed

Sep 24, 2011

Just setup my postfix and trying to telnet localhost.

here it is..

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

I wanna paste my /var/log/maillog but i don't know how, when i copy from putty screen it's only copied part of the log.

btw i found one similar problem here [URL] but the thread starter already lost the pastebin so i don't know how he resolved the problems.

View 2 Replies View Related

CentOS 5 Networking :: Telnet Localhost 25 Hanging After Escape Character Is '^]'?

Dec 5, 2010

I have recently upgraded to a VPS for the purpose of web hosting a group of sites related to my business.The reason for the upgrade was because we wish to run a shopping cart software which required greater memory for PHP and the VPS was the most economic solution. So, I have very basic linux knowledge but I am the definition of a newbie when it comes to going further than just scratching the surface of server configuration! I have successfully hosted our main site for a number of weeks but recently the postfix service stopped sending mail. I have Plesk Control Panel installed and postfix continually shows as not started even though in SSH the service status is definitely running - I have gone through the troubleshooting checklist here (http://www.postfix-book.com/debugging.html#d0e6) but can't get any further than section 2.1 as when running the host command (#host relay-test.mail-abuse.org), I get # -bash: host:command not found. I've gone further in the document but not found any issues...

When postfix was working properly (i.e. sending emails!), the plesk CP showed the service as started and all emails from the website were sending as normal. The mailq command is showing the messages stuck in the mailq and the maillog shows the following:- http://pastebin.centos.org/36446 - these are the latest few pages.To check the configuration and basic elements I have flushed the mailq (which shows a stack of messages waiting) and I have also spent a long time (2 weeks) reading up on the parameters that should be in main.cf and master.cf.I have found that when I 'telnet localhost 25' I get the following response...[root@s15397216]# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.

View 2 Replies View Related

Fedora Networking :: Telnet Works Localhost But Not Network / Firewall Disabled

Jun 3, 2011

I'm working on setting up access for our developer via Telnet, we are on a local network behind a physical firewall. I set up the standard Telnet service for Fedora15 and from localhost I can login via any user and root.... However I cannot login from another terminal on the LAN, even though I can ping and FTP to the fedora15 box. I added the firewall rules for telnet, that did not work, so I disabled the firewall, still cannot get a connection via port 25. I feel either port 25 is closed in another manor or the telnet is restricted to the localhost.

Also I cannot login to root to configure the Firewall Desktop GUI, only standard users, is this an issue? I also cannot login to the console as root even though I use the correct password.I can only su to root and sometimes it is a PITA. There must be some settings to clear these issues up...

View 2 Replies View Related

CentOS 5 Networking :: Can't Telnet Localhost 1812 (radius Sever Port) / Enable This?

Sep 25, 2009

I have opened/added the ports 1812 and 1813 (both tcp & udp) for radius server in the firewall.

when i use the command : telnet localhost 1812 , the connection says "refused", i get the following messages code...

View 2 Replies View Related

Networking :: Telnet Is Not Working With Iptables?

Sep 29, 2009

i want to open specific port using iptables i.e 3159 Whenever i tried to telnet it generates the following error

Code:

# telnet 172.16.4.100 3195
Trying 172.16.4.100...
telnet: connect to address 172.16.4.100: No route to host
telnet: Unable to connect to remote host: No route to host

but when I stopped iptables

Code:

# service iptables stop

Its working fine

i added the ports in iptables i.e.

Code:

#iptables -A INPUT -p tcp --dport 3195 -j ACCEPT

for safe side I also added telnet port

Code:

# iptables -A INPUT -p tcp --dport 23 -j ACCEPT

but result was same.... In short telnet works without iptables but with iptables it generates the error mentioned above

View 10 Replies View Related

Server :: Telnet To Port 25 Not Working From Outside?

Mar 25, 2011

I'm trying to test smtp connectivity to my postfix configuration and I can telnet to port 25 from the computer itself but cannot from the outside. I get a connection refused error message. What am I doing wrong? I believe my dns is setup correctly as it seems the telnet can hit the box so I'm fairly sure its not that.

View 14 Replies View Related

Networking :: Difference Between Krb5-telnet And Ekrb5-telnet

Feb 18, 2010

I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)

View 1 Replies View Related

Fedora Networking :: Telnet To SMTP From Remote Not Working

Jul 10, 2011

I have a sendmail daemon running on Linux, I can telnet @ port 25 from local shell, however if I telnet from a remote system @ port 25, it doesn't work. There is no firewall in between.

View 3 Replies View Related

General :: /localhost Recursion/cache/iptables - Allow Localhost Recursion But Deny Recursion To External Clients?

Mar 8, 2011

I am a newbie in Linux. I have Fedora 13 OS 32 bits. I am working with PowerDNs and Poweradmin. How can I configure this with PowerDNS?

1. Allow localhost recursion but deny recursion to external clients. Is there a tutorial for that?

2. Set up cache nameserver for localhost (like caching-nameserver in Bind).
Is there a tutorial for that?

3. My Master Server with PowerDNS is working well from localhost but external clients cannot access it.

I have iptables with these rules:

[Code]....

View 1 Replies View Related

Slackware :: Localhost Not Working In 13.1?

Jan 30, 2011

I just setup a dual boot on my laptop with Windows 7 and Slackware 13.1

I've been using Slax for one of my web programming classes and I got tired of booting from a live CD all the time so I decided to just use Slackware. When I try and connect to the localhost page, I get a cannot connect error page. Why?

View 4 Replies View Related

Ubuntu :: Localhost Not Working With No Internet Access?

Aug 18, 2010

I recently installed Ubuntu (normal version) on to my netbook (Samsung N140) and I'm sharing my wireless connection over ethernet to my desktop using the method outlined in the Ubuntu wiki on ICS.

However, I do Ruby on Rails development, so run a local server on the netbook. I found out yesterday while working remotely that I cannot access 'localhost:3000' while I have no internet connection, and I get an error about 'sendmsg: operation not permitted' if I try to ping localhost. Likewise, I cannot access 127.0.0.1 the same way.

View 3 Replies View Related

CentOS 5 Networking :: Ping Localhost Not Working?

Mar 13, 2009

it was not working and ping is not reply me and I add ifconfig lo 127.0.0.1 it is working and getting ping but when reboot it is lost setting how can I set it for always ping working.

PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ifconfig lo 127.0.0.1 later

[Code]....

now working but IWant reboot later working about same. how can I setting it boot start this .

View 7 Replies View Related

Server :: Localhost Has Stopped Working / With Or Without Internet Connection Via An Ethernet Cable?

Apr 2, 2010

I have been using my laptop as a development machine for a few months now, developing php/mysql applications, and testing them offline via the same laptop by pointing the browser to url.

But a few days ago, my url stopped working and I discovered that it will now only work if I have an active internet connection plugged in. Why has this happened and how to I fix my test server so localhost works with or without an internet connection via an ethernet cable.

View 2 Replies View Related

General :: Allow Telnet From One Ip Segment?

Mar 8, 2010

I want to allow only ip segment(212.154.75.0/24) to telnet the server(RHEL-7.3).How this can be done using iptables?In the server i gave this command:

# iptables -I FORWARD -s 212.154.75.0/24 -p tcp --dport 23 -j ACCEPT
output is
0 0 ACCEPT tcp -- * * 212.154.75.0/24 0.0.0.0/0 tcp

[code]....

View 3 Replies View Related

General :: Can Ssh Into Ubuntu But Cannot Telnet

Aug 21, 2010

i set up a MAC power pc with ubuntu. i can ssh into it, but i cannot telnet. this is what i get when i telnet to the host i can only telnet to port 80

[Code]....

View 2 Replies View Related

General :: Compiling Telnet Client?

Apr 26, 2010

i have a telnet client src rpm. I need to make some changes in the src and recompile it. i am having problems recompiling src rpm

View 5 Replies View Related

General :: Connect To Telnet To Server

Mar 24, 2010

I would like to make a telnet connection to one server. I can't do this at first beceause i necesary to connect to another server. I use the program putty and this is the command to connect to my first machine:

[Code]....

View 2 Replies View Related

General :: Setup/enabled Telnet Only For Particular Dir?

Oct 11, 2010

how do I setup/enabled telnet access only for particular directory, when any user log-in on to my server, he gets something like below pattern on to remote server, and only login to specified directory, also he need to run few bash commands.

[ravi@mydomain00 ~]$ telnet mydomain.com
Trying 127.0.0.1...
Connected to mydomain.com (127.0.0.1).
Escape character is '^]'.

[Code]....

View 1 Replies View Related

General :: Install Telnet In Fedora 8?

Mar 9, 2010

I need to make a test on Fedora 8, with a Telnet... and seems NOT to beenabled.The package is installed, but if I have a look into /etc/xinedtd thereis no TELNET file ?Is there any changes into FEDORA 8 ? How to I configure Telner in Fedora 8 ?

View 6 Replies View Related

General :: Need To Open Telnet Port

May 6, 2011

I am trying to open the telnet port on my system with port 4100 and for the same i have inserted the entries in iptables file using below command./sbin/iptables -A INPUT -s 132.186.208.83/24 -p tcp �-dport 4100 -j ACCEPT.

View 1 Replies View Related

General :: Unable To Login Using Telnet?

Sep 8, 2010

I was just checking the configuration file of /etc/xinetd.d/krb5-telnet and i thought of enabling the telnet.I modified the configuration file accordingly and restarted the server.

Code:
# cat /etc/xinetd.d/krb5-telnet
# default: off

[code]...

View 2 Replies View Related

General :: Telnet 192.168.0.4 1000 Failed?

Jul 20, 2010

I have a temlnet problem -telnet 192.168.0.4 1004 failed.

At 192.168.0.2, "telnet 192.168.0.4" make connection successfully at port 23, however "telnet 192.168.0.4 1000" does not make connection at port 1000.

View 5 Replies View Related

General :: Unable To Do Telnet On Centos 5.5

Apr 6, 2011

i am on CentOS 5.5 ,and unable to do the Telnet. SElinux is in Permissive mode and firewall is off. below are the details for the help. i tried it before and after disabling the firewall and SELinux.

[Code].....

View 14 Replies View Related

General :: Not Able To Connect System Pc Via Telnet / Why Is So?

May 10, 2010

How to eneble telnet in linux based os?

I'd tried this command:

telnet my pc ip & name

View 3 Replies View Related

General :: Configure A Command To Run On Login Through Telnet?

Feb 9, 2010

I want to run a command every time I log in to my Ubuntu box, but only if I'm connecting through telnet, not if I'm logging in at the console.

View 1 Replies View Related

General :: Automated Telnet For Testing Servers

Aug 20, 2009

So I have a script that is supposed to check to see if a mail server is up and responsive. What I want to know is how I can send it the telnet escape character. I've tried:VAR=`(sleep 5;echo quit) | (telnet mailserver.timbuktu.net 25 2>&- )`

This works BUT there is a problem as the mail server may have been accidentally firewalled off. If this happens, my automated checking script will hang. What I want to do is send the escape character so that the '>' prompt comes up. They I should be able to send it "quit" even if it is hung on not getting a response from the server. VAR=`(sleep 5;echo -e '^]';sleep 1;echo quit) | (telnet arhqmg01.usarec.army.mil 25 2>&- )`

The above doesn't work. telnet interprets CTRL+] as '^]' but you can't type '^]' and get the same effect. So I guess what I need is to send the actual keystrokes. Like echo "somenumber" ; echo quit

View 4 Replies View Related

General :: Disable Telnet And Ssh For A Specific User?

Nov 12, 2010

I am looking for a way to deny telnet and ssh to one specific user. So far I've only tested with telnet and my attempts have been limited to various hosts.deny entries:

in.telnetd : user@server
in.telnetd : user@server.domain.com
in.telnetd : user@IP_address
in.telnetd : user@.domain.com

None of these work. The only thing I've found that does work is:in.telnetd : IP_addressBut this is only a semi-viable solution because we will soon have multiple logins for the one username from different servers and sub-nets. Ideally, I'd like to be able to deny telnet and ssh access to this username regardless of where the login originates. I suppose it would be possible to specify each server IP, but that'll be a bear to maintain

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved