When doing a fresh install of amuled + amuleweb, issuing these commands is enough to get amuleweb up and running:
$ amuled --ec-config
$ amuleweb --write-config
$ amuleweb
On
the guide at the wiki, there is information on how to set the passwords using parameters to these commands, but there is nothing relating to the port that amuleweb should be listening to.
This gets configured by default as -1 on the remote.conf file. On older versions this meant "use the same port as amuled uses for EC minus 1". On more recent versions (since about 2.2.1 or so), this means "use port 65535", which you can only find out using netstat or by a big guess.
On that wiki page, there is even this:
Go to the web address http://hostname:4711, where hostname is the name of the computer running amuleweb and 4711 is the port amuleweb is using. In most cases this should be http://localhost:4711.
Well, this was what happened in most cases, but when the -1 meant "EC port -1". Now in most cases it's 65535 (coincidentally or not, the last usable TCP port).
I believe this should be documented somewhere (if it already is, where?) and/or the default should be altered to a different port. Or perhaps (I would prefer if) you could bring the old behaviour of "EC port -1" back.