Skip to content

Commit

Permalink
job manager should always accept non-local connections
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Jul 2, 2023
1 parent d60623f commit 4257a37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public JobManager(JobConfig config) {
ZIP_FILE = new File(basePath + ".zip");
JobUtils.zip(new File(config.getSourcePath()), ZIP_FILE);
logger.info("created zip archive: {}", ZIP_FILE);
server = HttpServer.handler(this).http(config.getPort()).build();
server = HttpServer.handler(this).http(config.getPort()).local(false).build();
jobUrl = "http://" + config.getHost() + ":" + server.getPort();
queue = new LinkedBlockingQueue();
}
Expand Down

0 comments on commit 4257a37

Please sign in to comment.