Closed
Description
I had a couple projects open at the same time and noticed that the default ports are hardcoded and thus collide.


I'm using spin 2.4.2.
I'd be willing to give this a shot tomorrow. The issue is in crates/trigger-http/src/lib.rs.
I propose amending the serve and serve_tls functions to go through ~10 ports if the one listening is in use. This would not just work for default_value but also if the "--listen ADDRESS" is also in use.