Adding rpcport=18332 temporarily solve your problem. If you want to run mainnet or testnet at the same time when regtest is running, you wont be able to use them, it is because when you assign rpcport=xyz all bitcoin instances will try to interact through same rpcport when daemon is started but at one time only single daemon can access single port number.But in your case all three daemons tries to take rpcport as 18332.
Infact what you can do is, try to get connected to default rpc port for regtest by typing command:
bitcoind -regtest -daemon -rpcport=18443
Mainnet:8332
Testnet:18332
Regtest:18443`
Note:For bitcore v15 rpc port is same for testnet and mainnet where as in v16 rpc port is diffrent for all of them
This is only the regtest RPC port then? – Willtech – 2018-03-21T11:58:23.503
This will effect all instances of
bitcoindthat are started, regardless of network. – Andrew Chow – 2018-03-21T19:53:51.090@Willtech I think it is – Prayag k – 2018-03-22T06:45:37.970