Was there a recent change where it is no longer possible to specify rpcport?
I noticed these two warnings: Warning: Config setting for -addnode only applied on test network when in [test] section. Warning: Config setting for -rpcport only applied on test network when in [test] section.
After trying adding a [test] section I got very mixed results as some times it disregarded all options and in general rpcport was still not set.
I could not find any documentation on how to do this.