Skip to content
Snippets Groups Projects
Commit 9ae57277 authored by HongKee Moon's avatar HongKee Moon
Browse files

Remove static "localhost" setting for setHost()

parent 00a58b81
Branches
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ public class BigDataServer ...@@ -44,7 +44,7 @@ public class BigDataServer
// ServerConnector configuration // ServerConnector configuration
final ServerConnector connector = new ServerConnector( server ); final ServerConnector connector = new ServerConnector( server );
connector.setHost( "localhost" ); connector.setHost( serverName );
connector.setPort( port ); connector.setPort( port );
LOG.info( "Set connectors: " + connector ); LOG.info( "Set connectors: " + connector );
server.setConnectors( new Connector[] { connector } ); server.setConnectors( new Connector[] { connector } );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment