From 76ae25f866676d7fa65c2f617d5926339a3949b1 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Tue, 14 Apr 2020 11:00:53 -0400
Subject: [PATCH] Fix: Server now respects configured listening port and
 address.

---
 lib/aethyr/core/connection/server.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/aethyr/core/connection/server.rb b/lib/aethyr/core/connection/server.rb
index 4d4d3c7..bda52f4 100644
--- a/lib/aethyr/core/connection/server.rb
+++ b/lib/aethyr/core/connection/server.rb
@@ -51,7 +51,7 @@ module Aethyr
         updateTask.execute
         saveTask.execute
 
-        listener = server_socket('0.0.0.0', 8888)
+        listener = server_socket(address, port)
 
         File.open("logs/server.log", "a") { |f| f.puts "#{Time.now} Server started." }
         log "Server up and running on #{address}:#{port}", 0
-- 
GitLab