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

x
?
Solved

Using Telnet to confirm communication with external server using SSL

Posted on 2010-09-23
9
Medium Priority
?
878 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 2000 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
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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…
Suggested Courses

926 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