Using Telnet to confirm communication with external server using SSL

Posted on 2010-09-23
Last Modified: 2012-05-10
Using Coldfusion 8 Enterprise on Windows 2008. I'm trying to connect to an instance of SQL Server 2008 through an encrypted connection but having no luck.

I'm trying to register a new Data Source in the Coldfusion administrator. The datasource if from a SQL Server 2008 box which only allows SSL connections.

I'm getting time out errors. So I tried to do away with the sql stuff and try to get as low level communication.

I'm trying to telnet into the SQL Server box but I'm getting this error msg: Could not open connection the host on port 1433: Connect failed.

If I have the servers info to connect via sql server login, how can I test this with telnet?

Question by:FastEddie___
  • 5
  • 4

Expert Comment

ID: 33749312
telnet SERVERNAME_OR_IP 1433
that should let you know if yoou can at least connect to the port

Author Comment

ID: 33749351
Right I tried both but neither worked.  What are the possible causes for failure?

Accepted Solution

phodges4 earned 500 total points
ID: 33749363
a firewall could be blocking you that port inbound or outbound (locally or remotely) ..
or sql server could be down
or you could just have the wrong server info?

i would double check the server name and that you can resolve the domain .. then do a traceroute on the IP and verify you can get to the box ..
what happens if you just ping it?


Author Comment

ID: 33749417
I get Request timed out error when pinging the doman name and the ip.
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.


Author Comment

ID: 33749420
Their SQL Server box (the one I'm trying to hit) is using SSL so I didn't expect to be able to ping it.

Expert Comment

ID: 33749436
it's possible that ping will not work .. lot's of admins block that port ..
your next bet would be to try a portscan of that ip to see if can verify any type of connectivity ..
when you tried to telnet to port 1433 was the error you got back?

Author Comment

ID: 33749488
How do I do the portscan?
The error I got back when telneting with port 1433 is: "Could not open connection to the host, on port 1433: Connect failed."

Expert Comment

ID: 33749574
hmmm .. from the sounds of if you can't hit that ip address .. if you were at least attempting to telnet to a physical machine you should at least get a connection refused unless the machine is down .. although this does not guarantee that the machine is down .. the firewall could just be ignoring your request .. what OS do you use?  windows?

Author Comment

ID: 33754275
Thanks phodges4.
Yes, I'm using Windows Server 2003 and attempting to connect to an MS SQL Server 2008 box.

Port 1433 is open and I just put in a request for them to open up 443 just to see if that helps.

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
STDEVP in SQL 2 34
ColdFusion 10 Error 2 22
Need an intro to -- .Net SQL Authorization Manager 7 49
using t-sql EXISTS 8 23
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now