Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Telnet localhost on port 25 sometimes resolves to Hotmail, or Google mail server?!!

Posted on 2008-09-30
2
Medium Priority
?
620 Views
Last Modified: 2012-06-22
Experts,

I've got a really strange problem on one of my network servers.  The server is running MailEnable mailserver, and this is listening on port 25 (Any available IP address).

I attempt a telnet as follows:

telnet localhost 25
telnet 127.0.0.1

Sometimes these respond fine, with the default mailserver messages (220 Welcome to mailserver), and other times it will resolve to all sorts of remote mail servers, ie. (220 Welcome Google server) or (220 Hotmail server).

I can't see anything to suggest why this is occuring.

REmotely connecting via telnet to the server's static WAN IP address responds correctly everytime, and my reasons for querying this is because the server has ASP scripts which must send through localhost, the static IP address or the loop back address (all of which can respond with a remote server!)

Please help!
0
Comment
Question by:mhouldridge
1 Comment
 
LVL 44

Accepted Solution

by:
Darr247 earned 2000 total points
ID: 22606314
Did you ever define localhost as 127.0.0.1 in the HOSTS file?

It's usually in
%windir%\system32\drivers\etc

All 127.x.x.x IPs are reserved for loopback, if I recall correctly, but I'm not certain than 'localhost' is hard coded as 127.0.0.1.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
Suggested Courses

782 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