CompositionalIT / SAFE-Dojo

An introductory dojo to learn how to develop full stack web applications in F#
379 stars 128 forks source link

MacOS and Port 5000 #178

Closed SpiralOSS closed 8 months ago

SpiralOSS commented 8 months ago

Error: server: Unhandled exception. System.IO.IOException: Failed to bind to address http://0.0.0.0:5000: address already in use.

Fix: https://apple.stackexchange.com/questions/431154/should-controlcenter-app-listen-to-port-5000-tcp-on-a-normal-macos-monterey-syst

I can add something to the troubleshooting section. I tried changing the port in-code to 5010 but was receiving 403 errors; so I'm not sure what the proper fix is (still learning).

Larocceau commented 8 months ago

Hi SpiralOSS. Thanks a lot for raising this ticket! I had a look into it; the ports address http://0.0.0.0/5000 should not be used here, it should be http:/localhost/5000. I created pull request #179 to fix this, and will get someone to review that ASAP.

Larocceau commented 8 months ago

@SpiralOSS the PR to fix this has been merged, please let us know if your issue is fully resolved, so we can close the issue.

SpiralOSS commented 8 months ago

Confirmed. I am no longer receiving the port-conflict error. Thank you!