Home > Mobile >  I am Android small white, local area network (LAN) no problem, but the use of peanut shell mapping,
I am Android small white, local area network (LAN) no problem, but the use of peanut shell mapping,

Time:11-04

Code is online to find the most simple example, sent a text to the server, the server returns to the client, in the local area net without any problems, PC to do the service side (Java), the android client (samsung on7), with peanut shells mapping, the server can receive messages, mobile phone can't get a server client return messages, server receives also is not very stable, thank god!

CodePudding user response:

You can use one of the most simple network request to test the backend interface if you have any questions you wrote, there is no problem, then write the Android code will get twice the result with half the effort, at least you can know where the problem is,

CodePudding user response:

I only have a computer, I had a test, 127.0.0.1 no problem, after using peanut shells, situation, or the client can send information, but can't accept information, where is the problem?
  • Related