An issue had been troubling me for quite sometime on my local notebook.
Connection verification failed for data source: MyProject []java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect
And a friend of mine linked me to the solution on Doug Hughes‘s blog.