Skip to content

Conversation

upgradingdave
Copy link

I saw a question on Slack about whether it's possible to set ip address that server binds to and so I threw this together quickly. This should work for jetty and http-kit. jetty uses the :host option and http-kit uses the :ip option. Feel free to merge if you think it'd be good option to provide. Otherwise, it might be better to take a step back and provide a more general way to pass options thru to the server impl (either to http-kit or jetty).

@drownbes
Copy link

drownbes commented Nov 2, 2016

@upgradingdave I have tried your fix and it is working. But there is Started Jetty on http://localhost:3000 in terminal instead of supported ip address.

@upgradingdave
Copy link
Author

Hi @drownbes, glad to hear it's working. I updated so the output reflects the ip address configured. If you notice any other issue, please let me know. Thanks.

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.

2 participants