ioBroker.admin: port 443 already in use (on another IP adress...)
You can set the Admin Adapter to a certain IP, but it doesn’t seem to check if the port is free on this IP, but if any IP is using port 443.
The admin instance is bound to 10.0.0.10 and there is also an nginx server running on the host which is bound to 10.0.0.11:443.
Thus, the port that the admin instance wants to use is not occupied, but it still complains about this as an error and does not start. I always have to stop nginx first to then be able to start iobroker.
This is what it looks like when I start iobroker first, then nginx.
netstat -tuln | grep ':443'
tcp 0 0 10.0.0.11:443 0.0.0.0:* LISTEN (nginx)
tcp 0 0 10.0.0.10:443 0.0.0.0:* LISTEN (iobroker)
2022-08-27 11:25:20.922 - error: admin.0 (236362) port 443 already in use
2022-08-27 11:25:20.924 - info: admin.0 (236362) Terminated (ADAPTER_REQUESTED_TERMINATION): port 443 already in use
2022-08-27 11:25:21.441 - info: admin.0 (236362) terminating https server on port 443
2022-08-27 11:25:24.974 - error: host.iobroker instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
I don’t see any logical reason for this, so I think it’s a bug when checking port usage.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (1 by maintainers)
Commits related to this issue
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check specific interface and not all of them — committed to ioBroker/ioBroker.admin by GermanBluefox 2 years ago
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check only interface and not all interfaces for port — committed to ioBroker/ioBroker.web by GermanBluefox 2 years ago
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check only interface and not all interfaces for port — committed to ioBroker/ioBroker.socketio by GermanBluefox 2 years ago
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check only interface and not all interfaces for port — committed to ioBroker/ioBroker.ws by GermanBluefox 2 years ago
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check specific interface and not all of them — committed to ioBroker/ioBroker.simple-api by GermanBluefox 2 years ago
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check specific interface and not all of them — committed to ioBroker/ioBroker.geofency by GermanBluefox 2 years ago
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check only interface and not all interfaces for port — committed to ioBroker/ioBroker.lovelace by GermanBluefox 2 years ago
- https://github.com/ioBroker/ioBroker.admin/issues/1665 Check only interface and not all interfaces for port — committed to iobroker-community-adapters/ioBroker.telegram by GermanBluefox 2 years ago
- Refactoring and https://github.com/ioBroker/ioBroker.admin/issues/1665 — committed to ioBroker/ioBroker.template-rest by GermanBluefox 2 years ago
Ok,then I will bring this in a next update