Connector connecting only to localhost
Posted by: Rasael Bervini
Date: April 11, 2005 03:51AM

I have this very strange problem with the connection to the server.

I have always tested my application on localhost and it always worked very fine.
The problem is when I try to connect to any other address or ip that isn't "localhost" or "127.0.0.1".
When I try, the connection starts and get's in suspend since I don't close the program.
I have leaved the application there for more than 5 minutes and didn't give any error or exception (I print in the stack trace all the ex)!

This are the DSN that I use to connect, all of them points to my computer but only the first two works!

Connection to: jdbc:mysql://localhost:3306/
Connection to: jdbc:mysql://127.0.0.1:3306/
Connection to: jdbc:mysql://172.19.28.77:3306/

What could be the problem? I have tried it on three different computers on three different networks (and online too) but doesn't work at all!

Options: ReplyQuote


Subject
Written By
Posted
Connector connecting only to localhost
April 11, 2005 03:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.