Closed yekainew closed 2 years ago
The host
header on the incoming request must match the listener hostname you supply in the constructor. Otherwise, you can use *
, +
, or 0.0.0.0
as the listener hostname, but this will require you to run with administrative privileges.
Bad Request - Invalid Hostname HTTP Error 400. The request hostname is invalid. 用外网ip访问不到的?