Both http servers (jetty and akka-http) will try to bind to the
specified port (9001) and the OS will only allow the first one to
succeed, leading to the exception you are seeing in the process that is
second to start.
If you must have them serve requests on the same port, then the way I
see
Hey folks,
I've used AKKA Camel for HTTP service...
It's endpoint is "jetty:http://0.0.0.0:9001/test;
and recently I figured out that AKKA-HTTP is easy and fun.
So I tried bind akka-http route("http://0.0.0.0:9001/hi on same port.
val route =
path("hi") {
get {
complete("hello")