Port chaning doesn't work?

I am trying to run Zcash node at different port than 8232. I have added this line to zcash.conf file:

rpcport=8230

Zcash node seems to ignore this and starts at 8232 port everytime. How to bind rpc to different port?

Windows or Linux?
You can try point zcash daemon to the config file directly from the command line and see if that helps.

I have found solution, just pass “-rpcport=123” argument and daemon will start listening RPC on port 123.