We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3280429 commit b68d8feCopy full SHA for b68d8fe
1 file changed
src/main/java/io/eigr/spawn/Spawn.java
@@ -76,7 +76,7 @@ public ActorRef createActorRef(String system, String name, String parent) {
76
}
77
78
private void startServer() throws IOException {
79
- HttpServer httpServer = HttpServer.create(new InetSocketAddress(this.port), 0);
+ HttpServer httpServer = HttpServer.create(new InetSocketAddress("127.0.0.1", this.port), 0);
80
httpServer.createContext("/api/v1/actors/actions", new ActorServiceHandler(this.system, this.entities));
81
//httpServer.setExecutor(Executors.newVirtualThreadPerTaskExecutor());
82
httpServer.setExecutor(Executors.newCachedThreadPool());
0 commit comments