Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for specific server host binding #163

Merged
merged 3 commits into from
Mar 22, 2017
Merged

Conversation

damnubber
Copy link

No description provided.

Copy link
Member

@LtRipley36706 LtRipley36706 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick on the host line, nothing more.

"Port": 9000
},
"Network": {
"Host": "127.0.0.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpickmode: kill the extra space here to make line "Host": "127.0.0.1",

Copy link
Member

@LtRipley36706 LtRipley36706 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good here..

@@ -3,7 +3,7 @@
"WorldName": "ACEmulator",
"Welcome": "Welcome to this ACE server!\nFor more information visit http://www.acemulator.org.",
"Network": {
"Host": "127.0.0.1",
"Host": "127.0.0.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upon further thought, change this to "Host": "0.0.0.0",

That way, we're basically set to IPAddress.Any by default, then the server op can change it to be more specific.

as is, the default of 127.0.0.1 means the server is only gonna listen for local loopback

@LtRipley36706
Copy link
Member

Now, really, all good here 👍

Copy link
Member

@Mag-nus Mag-nus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default for the host should be "".

If it is "", the listener should still bind to IPAddress.Any

This makes the default setup/install easy, but gives the option for those want to bind to a specific network on multihomed boxes.

@Mag-nus Mag-nus merged commit 92f4725 into ACEmulator:master Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants