Phex chooses a random port after a fresh installation or deletion of configuration files. Otherwise it will not change ports.
Except if the configured port is already in use, in this case Phex adds 1 to the port until a free port was found. What LW does I cant tell.
__________________ |