al4629740
asked on
Check for Blocked port in VB6
My connection string on my program won't pass at some locations. It is port 1433 for SQL Server. Is there a way to check to see if this port is being blocked in VB6 and then output a message?
what error message and number does the connect method return ?
<< Is there a way to check to see if this port is being blocked in VB6 and then output a message?>>
ping it. use shell + cmd line...
ping it. use shell + cmd line...
Or use the same binary account than the executable then open a session on that account and attempt a telnet connection on the server...
ASKER
How do I ping a specfic port 1433
ip address: xx.xxx.xxx.xxxx
ip address: xx.xxx.xxx.xxxx
ASKER
If that port is blocked, what do I tell their administrator to do, in order to clear the path for my program?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Racimo, when you said "ping it. use shell + cmd line..." Do you have an example in VB6?