Using port number in Windows host file

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Using port number in Windows host file

Message par ForumBot »

Using port number in Windows host file
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Using port number in Windows host file

Message par ForumBot »

The `hosts` file is for host name resolution only (on Windows as well as on Unix-like systems). You cannot put port numbers in there, and there is no way to do what you want with generic OS-level configuration - the browser is what selects the port to choose.

So use bookmarks or something like that.

(Some firewall/routing software might allow outbound port redirection, but that doesn't really sound like an appealing option for this.)
Répondre

Revenir à « Performance & Dépannage »