Solved

Using Telnet to confirm communication with external server using SSL

Posted on 2010-09-23
9
837 Views
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?

0
Comment
Question by:FastEddie___
  • 5
  • 4
9 Comments
 
LVL 2

Expert Comment

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

Author Comment

by:FastEddie___
ID: 33749351
Right I tried both but neither worked.  What are the possible causes for failure?
 
0
 
LVL 2

Accepted Solution

by:
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?



0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:FastEddie___
ID: 33749417
I get Request timed out error when pinging the doman name and the ip.
 
0
 

Author Comment

by:FastEddie___
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.
 
 
0
 
LVL 2

Expert Comment

by:phodges4
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?
0
 

Author Comment

by:FastEddie___
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."
 
0
 
LVL 2

Expert Comment

by:phodges4
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?
0
 

Author Comment

by:FastEddie___
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.
 
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

We all know how boring and exhausting it is to transfer huge web projects developed locally to a webserver simply via FTP. The File Transfer Protocol is a really nice solution if you need to transfer small amounts of files, but if you're plannin…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 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