How to allow an iPad application to communicate with a local server on a Windows 8 laptop

I have a local web server that I start using the startServer.bat command through Maven using a laptop running Windows 8.1. There is also an application on the iPad that I installed using TestFlight, which needs to connect to this server. I use an Android tablet as a mobile hotspot for Internet access. The port used for the local server is 8080.

Since I tried to enter the application, it gives an error: "We were unable to contact the server, check the connection and try again."

I added rules for the firewall, disabled the firewall, as well as any security on the laptop. When I try to log in, there are elements that are registered in cmd, where I see that the information is extracted from the application, that is, username and password. BUT, it seems that the information is not sent back to the application, because the login was successful, you can now continue. I also read about Windows 8.1 blocking Metro apps, could there be something like this here?

I made sure that the IP address is static on the laptop, that the devices use the same network and even looked at the use of proxies - I tried using Charles Proxy and CCProxy, but they use too much memory, and then the assembly fails per timeout, so I can’t verify anything. When I go to the server IP address (i.e. Xxx.xxx.xx.xx: 8080) in Safari, it connects (although I can’t confirm if it behaves 100%), but the iPad application has never been successfully registered. an error is always displayed after registering this line: enter image description here

Can someone please help me with this problem, or at least direct me to the fact that I can look at how to properly configure this (so that I can verify what I did) or how to overcome this problem.

EDIT: Test Flight, , Google App App Security . , -, - Windows. - loopback appcontainer, , , appcontainer , , . , , ? Windows 10?

+4
1

, Transport Security, iOS 9. Info.plist iPad-.

/:

<key>NSAppTransportSecurity</key>
<dict>
  <!--Include to allow all connections (DANGER)-->
  <key>NSAllowsArbitraryLoads</key>
      <true/>
</dict>

, . , . .

+2

Source: https://habr.com/ru/post/1616142/


All Articles