[This topic is migrated from our old forums. The original author name has been removed]
Hello everyone,
I am using Mac OS X 10.9.4 and Trying to connect to a MS SQL Server 2008. I ping the server and the port from terminal everything is ok. However, when I test the connection from DBVisualizer (ping server button) I get the following message:
"The ping attempt timed out. Please verify that you have
specified a correct hostname and port number."
Please help, thanks in advance.
1 Comment
Hans Bergsten
said
about 10 years ago
[This reply is migrated from our old forums.]
Re: Server is up but DBVisualizer cannot even ping
Hi,
Are you using Java 7? If so, please try adding this line in Tool Properties, in the Java VM Properties area in the General category:
-Djava.net.preferIPv4Stack=true
Java 7 tries to use ipv6 by default but this forces it to use ipv4:
http://download.java.net/jdk7/archive/b123/docs/api/java/net/doc-files/net-properties.html
Best Regards,
Hans
anonymous