Click here to Skip to main content

Hosting and Servers

AnswerRe: Run a .NET EXE from a webhost PinmvpEddy Vluggen5-Feb-13 1:52 
QuestionUse External Domian or Internal Domain Pinmemberkarirkoe25-Jan-13 5:33 
AnswerRe: Use External Domian or Internal Domain PinmemberSimon_Whale25-Jan-13 5:50 
QuestionWCF Managed Windows Hosting PinmemberMember 977162721-Jan-13 16:05 
AnswerRe: WCF Managed Windows Hosting Pinmvpthatraja4-Oct-13 20:57 
QuestionReliable Linux VPS Host? PinmemberLloyd Atkinson6-Jan-13 18:12 
SuggestionRe: Reliable Linux VPS Host? PinmemberAlbert Holguin11-Feb-13 15:56 
QuestionHow to get detail of host who take mstsc? Pinmembersumit703419-Dec-12 18:06 
AnswerRe: How to get detail of host who take mstsc? Pinmemberjschell20-Dec-12 9:39 
GeneralRe: How to get detail of host who take mstsc? Pinmembersumit703420-Dec-12 18:30 
GeneralRe: How to get detail of host who take mstsc? Pinmemberjschell22-Dec-12 14:54 
QuestionWeb application slow for particular user PinmemberKaran_TN12-Dec-12 5:12 
AnswerRe: Web application slow for particular user PinmemberSCraw285527-Dec-12 3:45 
QuestionConnecting to Exchange SMTP Server through Telnet/Custom Code PinmemberDisIsHoody11-Dec-12 12:31 
I originally posted this in the "Web Programming" forum and in discussions over there it seems that the issue I may be having is related specifically to the Exchange server I'm trying to use. I'm going to re-post my messages over here in the hopes that someone will be able to tell me why I can't do what I'm trying and why there seems to be inconsistencies in the data that I've been finding. Sorry for the long post, but I'm just trying to post everything I already asked in the other forum and the only thing anyone was able to suggest what that it was some sort of network security issue and that I needed to ask someone who knows Exchange very well. Thanks in advanced for any help/suggestions/solutions that you can provide. This is something very important to an application I'm developing and without it I lose a major function.
Below is a combination of post I had written over a 2 day period based on additional information users were asking for. I cut it back some, but I just want to make sure I provide everything I can:

I'm a VB.NET developer and I like to expand by knowledge by trying to program things from scratch that are already implemented in the the.NET framework. My current project is programming a SMTP server using just sockets. I've already read the RFC on SMTP and my company has an Exchange Server (2007) that I was going to use for testing.

The web address of the server is and I used reverse DNS to get the IP adress. The domain name does have a MX record a well. From the command prompt on my computer (which is running Win7 Professional) I tried using telnet to connect on port 25. I tried using the domain name as well as the IP address, but both times it said it couldn't connect to the server on port 25.

I checked the settings in Outlook and the port is correct. I then tried connecting on port 110, and some other ones that are sometimes used, and it gave the same error message.

Next I connected to the Exchange server through VPN and tried telnet again on port 25 and this time it worked. However in the SMTP banner it said instead of So I disconnected from the VPN and tried the telnet again on all the ports I initially tried but used but again got the same error message. I did an IP address lookup and and point to the same IP address.

I then used and (I think that was the adress) and used their SMTP tools to see of they could connect. I entered as the domain name and they looked up the MX record, which returns as the SMTP server, and both tools were able to connect with no issues identified.

So my questions: 1) If the MX record list as the SMTP sever, why does the banner return 2) Why can't I connect the SMTP server through telnet unless I'm connected through VPN, but the two websites I used to test it the connection worked?

Obviously the server works because because the two websites can connect to it, I can when I'm in VPN, and other servers can because I receive email on my corporate account. What could prevent my computer from connecting to the SMTP server through telnet when I'm not on VPN. I should also mention that I even tried turning off all my anti-virus software to make sure that it wasn't blocking it.
I was thinking maybe because I don't have a domain name so if the Exchange server tries to lookup the IP address of my computer there is no MX or PTR record. Is this something SMTP servers look for?

Just today I also found something that I don't know how to explain or how it may affect this. The MX record for the server list However, even when I'm on VPN, I can't connect to the SMTP server using that address in telnet or the IP address it points to. I have to use, which is shown in the SMTP banner and points to the SAME IP ADDRESS. Is there a setting in Exchange that makes it script only request coming from this address? If so, how do the online SMTP tools discover this subdomain when I only gave the tools the domain name ( and the MX record only shows The address is not located anywhere in the zone file.
What I'm trying to do (at least for now) is figure out how to deliver mail to the Exchange server from my software. For example, if I build an SMTP server and a client which connects to my that SMTP server and I want to send an email to (where the SMTP server for is hosted on the Exchange server), how would the SMTP server I created connect to the Exchange server in order to deliver the email? Doesn't the Exchange server have to allow some sort of connection from outside the intranet in order to receive emails from other domains (gmail, yahoo, etc.)?
Questioninstallation of xamp on ubuntu PinmemberMassalay10-Dec-12 10:02 
AnswerRe: installation of xamp on ubuntu PinmvpRichard MacCutchan10-Dec-12 22:40 
AnswerRe: installation of xamp on ubuntu PinmemberAlbert Holguin8-Feb-13 6:50 
QuestionAzure vs Own Servers [modified] PinmentorDaveAuld22-Nov-12 4:12 
AnswerRe: Azure vs Own Servers PinmemberMatthysDT14-Apr-14 23:55 
GeneralRe: Azure vs Own Servers PinprotectorDaveAuld15-Apr-14 2:42 
QuestionIIS 7.x related - for hosting .Net application PinmemberGautam Hattiangadi16-Nov-12 23:45 
QuestionAntivirus for Business Pinmemberjrahma26-Oct-12 0:21 
AnswerRe: Antivirus for Business PinmemberEddy Vluggen26-Oct-12 3:57 
AnswerRe: Antivirus for Business Pinmembermanoranjan20-Nov-12 18:38 
AnswerRe: Antivirus for Business PinmemberSCraw285527-Dec-12 3:50 
Questionwhat is the configuration for a video sharing site? PinmemberArunkumar.Koloth19-Oct-12 8:53 
AnswerRe: what is the configuration for a video sharing site? PinmemberMarcus Kramer19-Oct-12 10:09 
QuestionHELP! /web developers/programmers needed Pinmemberasylicnet18-Oct-12 23:48 
AnswerRe: HELP! /web developers/programmers needed PinmvpRichard MacCutchan19-Oct-12 0:30 
AnswerRe: HELP! /web developers/programmers needed Pinmembertkserv201120-Oct-12 13:35 
QuestionAnyone have any experience with Linux Routing? Pinmemberjkirkerx8-Oct-12 8:08 
Answer[SOLVED] [modified] Pinmemberjkirkerx9-Oct-12 12:25 
AnswerRe: Anyone have any experience with Linux Routing? Pinmembertkserv201120-Oct-12 13:37 
GeneralNot really solved - This is what I really want to do Pinmemberjkirkerx20-Oct-12 19:16 
QuestionIssue in Web site hosted on NLBS mode PinmemberShri Wangnekar8-Oct-12 6:41 
Questionfork() failed: Cannot allocate memory (12) PinmemberAli Saeed Khan26-Sep-12 0:27 
QuestionSubnetting PinmemberAinnop24-Sep-12 21:51 
Question404 Not found error in IIS 8 [modified] PinmemberZac Greve24-Sep-12 12:53 
Question500 error when 100 user hiting the website simultaneously... PinmemberManish_8424-Aug-12 3:08 
AnswerRe: 500 error when 100 user hiting the website simultaneously... Pinmemberjschell2-Sep-12 8:44 
QuestionMy IT NETWORK PROJECT Pinmembereteme12-Aug-12 7:01 
AnswerRe: My IT NETWORK PROJECT PinmemberEddy Vluggen20-Aug-12 3:04 
AnswerRe: My IT NETWORK PROJECT PinmemberAlbert Holguin20-Aug-12 4:36 
GeneralRe: My IT NETWORK PROJECT Pinmembereteme27-Aug-12 20:27 
GeneralRe: My IT NETWORK PROJECT PinmemberAlbert Holguin28-Aug-12 3:46 
GeneralRe: My IT NETWORK PROJECT Pinmembertkserv201120-Oct-12 13:39 
AnswerRe: My IT NETWORK PROJECT PinmemberJoan Murt23-Sep-12 23:41 PinmemberSasikumar.mohan3-Aug-12 4:19 
AnswerRe: PinmemberKarthik Harve3-Aug-12 21:35 
AnswerRe: PinmemberBernhard Hiller6-Aug-12 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web04 | 2.8.150123.1 | Last Updated 22 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid