Error code 503 com.microsoft.sqlserver.jdbc.sqlser

2019-08-18 01:44发布

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条回答
霸刀☆藐视天下
2楼-- · 2019-08-18 02:04

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... :)

查看更多
登录 后发表回答