You need to use the specific binding IP or hostname to access the server: Either:
Related:
http.server
ERR_EMPTY_RESPONSE
ERR_ADDRESS_INVALID