added function to get local ip of device and to use that instead of lcoalhost for API server.
added fw port creation/deletion by invoking powershell on server stop/start so that port can be accesed by other devices on LAN and not just local machine.
these changes mean the app now needs to be run as admin for the api server to work which i added into a newly created app manifest.
feel free to make any changes for error handling, logging, etc, have tested it on my machine and all works well though.
added function to get local ip of device and to use that instead of lcoalhost for API server.
added fw port creation/deletion by invoking powershell on server stop/start so that port can be accesed by other devices on LAN and not just local machine.
these changes mean the app now needs to be run as admin for the api server to work which i added into a newly created app manifest.
feel free to make any changes for error handling, logging, etc, have tested it on my machine and all works well though.