How to change the default host and port for HttpServerLauncher ? #288
Unanswered
Soumyajit-Dutta
asked this question in
Q&A
Replies: 1 comment
-
|
Please, validate that your Alternatively, you can write your own HTTP server launcher from scratch (as HttpServerLauncher is an example class). That way you can control how properties are passed to the application and HTTP server. Or you can use HttpServer directly without DI (as in this example) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying to create a httpserver which will be accept a post request. I have created a http-server.properties file and added the
http.listenAddresses=152.1.1.1:80. Yet when I am running my code it is defaulting to the default host and port which is localhost and 8080.My code is below.
Beta Was this translation helpful? Give feedback.
All reactions