Hi, I am using the HttpServer class from httpcore5-5.0.3 to implement
a simple HTTP server. I am registering a HttpRequestHandler as
follows:
ServerBootstrap.bootstrap().
...
.register("*", myHttpRequestHandler);
I am not invoking
.setLocalAddress(hostName)
on the ServerBootstrap, in the hope, that this will bind to 0.0.0.0,
as it should.
Now, if I am sending a request to http://localhost:8080/uri,
everything's fine. However, with http://127.0.0.1:8080/uri, I get the
error
"Not authoritative"
Is it possible? (And how?) to fix that?
Thanks,
Jochen
--
Look, that's why there's rules, understand? So that you think before
you break 'em.
-- (Terry Pratchett, Thief of Time)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]