Error code 503 com.microsoft.sqlserver.jdbc.sqlserverexception the tcp/ip connection to host failed

馋奶兔 提交于 2020-01-16 14:11:32

问题


Developed a SUP HWC application that will fetch data from SQL server 2005 using stored procedure.

Application deployed successfully to the server.And I'm able to view the application from my iPhone simulator.But, when I'm trying to retrieve the data on click of a menu,getting following error.

"Error code 503 com.microsoft.sqlserver.jdbc.sqlserverexception the tcp/ip connection to host failed"

I changed my settings as per this:

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed

But, still getting same error.Please help.Thanks.

Note: I have virtual MAC(where iPhone simulator is running) on my windows 7 PC.


回答1:


Well, My problem got solved...As I was in client VPN, I got a different IP address.Now, I mapped to client VPN generated IP address and its working like a champ... :)



来源:https://stackoverflow.com/questions/17852987/error-code-503-com-microsoft-sqlserver-jdbc-sqlserverexception-the-tcp-ip-connec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!