Open
Description
Description
After installing Gita in Docker using host networking, the web installer asks for various configuration information. One of these is port to run. Changing port in the web installer correctly reinitializes the server as expected:
gitea-1 | 2025/07/06 07:17:14 cmd/web.go:323:listen() [I] Listen: http://0.0.0.0:3000
gitea-1 | 2025/07/06 07:17:14 cmd/web.go:327:listen() [I] AppURL(ROOT_URL): http://localhost:3000/
gitea-1 | 2025/07/06 07:17:14 modules/graceful/server.go:50:NewServer() [I] Starting new Web server: tcp:0.0.0.0:3000 on PID: 16
....
gitea-1 | 2025/07/06 07:27:36 cmd/web.go:323:listen() [I] Listen: http://0.0.0.0:80
gitea-1 | 2025/07/06 07:27:36 cmd/web.go:327:listen() [I] AppURL(ROOT_URL): http://<hostname-redacted>/
gitea-1 | 2025/07/06 07:27:36 cmd/web.go:330:listen() [I] LFS server enabled
gitea-1 | 2025/07/06 07:27:36 modules/graceful/server.go:50:NewServer() [I] Starting new Web server: tcp:0.0.0.0:80 on PID: 16
However, the UI is continiously checking the old/default port 3000, as shown on the screenshot.
Screenshots

Gitea Version
1.24.2
Can you reproduce the bug on the Gitea demo site?
No
Operating System
macOS 15.5 (24F74)
Browser Version
Safari 18.5 (20621.2.5.11.8)