- Bernhard Giesriegl
- SnapDevelop
- Tuesday, 24 August 2021 01:00 PM UTC
Hi all, hope this wasn't asked before:
Creating the web api sample project from snap development 2021 I get a service listening on localhost:5000. Connecting with a test program consuming on this address works fine.
When I change the IP address in launchsettings.json e.g. to 192.168.0.20:5000 and start in debug mode (Ctrl+F5), a connection via this IP works fine for the test program.
Publishing the project and starting the .exe file from the release directory, a connection is only possible via localhost:5000
Changing the launchsettings.json in Properties subdir of the publish directory of has no effort.
How can I change the IP for the published version?
Thanks for your suggestions!
Bernhard
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.