Follow up from #15168.
If a single zmq notification is configured with an invalid address, initialisation fails, however bitcoind continues running:
src/bitcoind -zmqpubhashblock=tcp://127.0.0.1::28332 -debug=zmq
....
2019-01-18T08:55:28Z BerkeleyEnvironment::Open: LogDir=/Users/xxx/Library/Application Support/Bitcoin/wallets/database ErrorFile=/Users/xxx/Library/Application Support/Bitcoin/wallets/db.log
2019-01-18T08:55:28Z zmq: version 4.2.5
2019-01-18T08:55:28Z zmq: Initialize notification interface
2019-01-18T08:55:28Z zmq: Outbound message high water mark for pubhashblock at tcp://127.0.0.1::28332 is 1000
2019-01-18T08:55:28Z zmq: Error: Failed to bind address, errno=Operation not supported by device
2019-01-18T08:55:28Z zmq: Notifier pubhashblock failed (address = tcp://127.0.0.1::28332)
2019-01-18T08:55:28Z zmq: Shutdown notification interface
2019-01-18T08:55:28Z zmq: Shutdown notifier pubhashblock at tcp://127.0.0.1::28332
2019-01-18T08:55:28Z Cache configuration:
If two zmq notifications are passed, and the first address is invalid, bitcoind aborts:
src/bitcoind -zmqpubhashblock=tcp://127.0.0.1::28332 -zmqpubrawtx=tcp://127.0.0.1:28332 -debug=zmq
......
2019-01-18T09:01:13Z BerkeleyEnvironment::Open: LogDir=/Users/xxx/Library/Application Support/Bitcoin/wallets/database ErrorFile=/Users/xxx/Library/Application Support/Bitcoin/wallets/db.log
2019-01-18T09:01:13Z zmq: version 4.2.5
2019-01-18T09:01:13Z zmq: Initialize notification interface
2019-01-18T09:01:13Z zmq: Outbound message high water mark for pubhashblock at tcp://127.0.0.1::28332 is 1000
2019-01-18T09:01:13Z zmq: Error: Failed to bind address, errno=Operation not supported by device
2019-01-18T09:01:13Z zmq: Notifier pubhashblock failed (address = tcp://127.0.0.1::28332)
2019-01-18T09:01:13Z zmq: Shutdown notification interface
2019-01-18T09:01:13Z zmq: Shutdown notifier pubhashblock at tcp://127.0.0.1::28332
2019-01-18T09:01:13Z zmq: Shutdown notifier pubrawtx at tcp://127.0.0.1:28332
Assertion failed: (psocket), function Shutdown, file zmq/zmqpublishnotifier.cpp, line 114.
Abort trap: 6