Monday, April 14, 2014

android programs interact with the local tomcat J2EE, unable to communicate, seek expert advice. . . . ..


I wrote a J2EE web projects he deployed to a server on tomcat, in this application have my phone side of some of the access interface on the phone configured server ip is ip my machine's ip (ipconfig in the display ), I did not use a wireless router, but no matter how not visit, is not necessary to use a wireless router to make both Unicom ah, please give a messenger between the development of communication methods, preferably without a wireless router of
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
The top one,
Reply:
Great God, I want to know how to do ah. Guiqiu
Reply:
I just want to know your pc and mobile phone connection is a router do? If the pc is online state, after you start tomcat deployment URL is certainly 192.168.xx: 80 states, but if your phone and pc link is not the same router (ie mobile phone use 3G or GPRS), then the phone is not Visit your tomcat address, if you are outside the network tomcat deployment, such as 222.125.xx so that your phone can be entered directly address
Reply:
Phone open hotspots, computers connected to the hot spot is not on it

No comments:

Post a Comment