I知 having a problem with a JDBC connection to a remote SQL server. I知 taking a Java course and they have setup a remote server for us with a username and password. I am able to connect to the database fine from other computers but not the one that I use for development.
It goes as far as loading the driver but then hangs (without throwing an exception) when it reaches the DriverManager.getConnection() method. I tried the same code on two other computers (Windows and Mac) from within the same network and it worked fine.
The PC I知 having problems with is running Windows 7. I tried disabling the firewall and AVG anti-virus but not help. I知 running Eclipse.
Any advice on what I could try? Thanks very much!