Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-09-30
2
Medium Priority
?
607 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
[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
2 Comments
 
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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
Know what services you can and cannot, should and should not combine on your server.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

718 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