Add clickable server URL to dev mode port info output - #529
Conversation
When dev mode starts or the user presses 'p', print a clickable URL alongside each HTTP/HTTPS port line so users can navigate directly to the running server.
|
Screen Recording of new Port info Screen.Recording.2026-08-11.at.1.56.37.PM.movchecked in dev container mode as well Screen.Recording.2026-08-11.at.1.56.37.PM.movIn container mode (devc), Liberty runs inside the container. The hostname Liberty binds to and reports in CWWKT0016I is the container's internal hostname or IP (e.g. 172.17.0.2) — which is only reachable from within the container network, not from the developer's machine. What the developer actually accesses is localhost: — the port that Docker/Podman maps from the container to the host machine (e.g. -p 9080:9080). That mapped host port is what gets stored in httpPort via findLocalPort(). So for liberty:devc, the container URL will have localhost hardcoded |
|
@venmanyarun Please add a screenshot of the new info. It is difficult to see/read in the video when pausing. |
…ty container URL:'
dev mode starting
keypress "p" in container mode
|
|
As discussed at the meeting today, let's go with |








Fixes #528
When dev mode starts or the user presses 'p', print a clickable URL alongside each HTTP/HTTPS port line so users can navigate directly to the running server.