Some projects' development servers only accept requests with a pre-specified host (e.g. localhost, or example.com) and any request using a different host will get dropped (for example Gitpod preview URLs). Note: This is orthogonal to binding ports on localhost or 0.0.0.0.
@32leaves suggested we could have a gp command that returns preview URLs.
I suggest the following new feature:
$ gp preview-url 4242
https://4242-abcdef01-2345-6789-81e5-e7f1005fb9c8.ws-eu.gitpod.io/
Should we also have a way to list currently running ports? Or maybe implement auto-complete for this? Comments/suggestions very welcome.