Specify hostname or ip address

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Specify hostname or ip address

julian
Is there a similar option -Dratpack.port for setting the hostname or ip address?  The default is listening on localhost:5050, but can't be reached from another machine.
Reply | Threaded
Open this post in threaded view
|

Re: Specify hostname or ip address

Luke Daley
Administrator
Yes, it's -Dratpack.address=«some ip».

That will select the network interface to bind to.