The background is the server project from 20 server to 16 servers, mobile phone through the IP of the 16 server to send requests to the project interface to obtain data
The following are the problems that arise
1. The picture can upload, but the picture cannot show, the path is not right
Workaround: Modify the image upload configuration file address or the Database configuration table
2. The handset side request does not have the service side the interface, the request port is not right
Workaround: First determine what protocol the server needs to send on the phone, Https or HTTP. If it's HTTPS, go to the server to see what the Tomcat configuration https is, then add the port after the IP request
3. The server can accept the request sent by the mobile phone, but the program goes to a certain code, cannot continue to execute
WORKAROUND: But the parameter handset side does not receive, returns the connection timeout. First of all, determine whether this line of code is operating the database code, execution to this line of code. This time should pay attention to, carefully check is not the code has problems, once found that the code is not a problem. So that is the project access to the database user rights, to see if this user has all the permissions.