开发者

Connection Error: javax.microedition.io.ConnectionNotFoundException:TCP open

开发者 https://www.devze.com 2022-12-14 13:44 出处:网络
I posted this error here cuz it has be开发者_JAVA百科en disturbing me for long time whenever i try to connect to my web api from my j2me application.I just would like to share this if somebody has sam

I posted this error here cuz it has be开发者_JAVA百科en disturbing me for long time whenever i try to connect to my web api from my j2me application.I just would like to share this if somebody has same problem as me.


When this error happened to me, it was because my web server (tomcat) was not running. Make sure that your web server is up and running then try again.


my solution to this error is i changed in host file which is located at C:\Windows\system32\drivers\etc\ and i opened the ip that i m trying to call. the other attempt i did if this one is not working is check the instances whether they are already run or not. This is also one option which really did solve the TCP open error.

0

精彩评论

暂无评论...
验证码 换一张
取 消