Open mattiasandri opened 1 year ago
In default configuration, the Server ist listening only on http://localhost:8080/getLocationReports
If you want to have it open in the local Network you have to edit the Vapor Server. The File is located in the Vapor Package: Vapor->HTTP->Server->HTTPServer
You can set the IP to 0.0.0.0 an the Port to something different as 8080, if you like. 0.0.0.0 opens the binding to every IP address, not just localhost.
I've been able to build and run the OHServerApp from https://github.com/Sn0wfreezeDev/openhaystack (simple_server branch). How can I modify the IP address and Port of the OHServerApp running on my Mac, so I will be to access it from inside my network with the mobile version? I've understood that I need to modify some Vapor settings somehow, but I'm not able to. I am not familiar with XCode or Swift in general. Thanks.