When accessing server 127.0.0.1:8080 for example the
topmost folder created by DiskWriterPlugin will be
.../127.0.0.1/..., i.e. DiskWriterPlugin doesn't take
into account server port.
Attached is fixed DiskWriterPlugin that creates
topmost output folder with server port (if used).
DiskWriterPllugin that generates topmost output folder with server port (if defined).
It could be argued that the current behaviour is correct, given that say you don't want to treat http://localhost:80 and https://localhost:443 as different sites. Maybe it should distinguish different ports within the same protocol. I will ponder on this for the upcoming release.
Last edit: EJP 2021-07-03
After consideration it seems to me that the present behaviour is correct. A site is identified by a hostname. A different protocol (http/https) or port doesn't make it a different site.