#1161 Change Host At Runtime

Nick Sexson Thu 29 May

Might be an easy solution I'm missing.

For testing within a network is there a way to launch Haxall serving on 0.0.0.0 instead of localhost(127.0.0.1) so that the haystack connection can be tested with another device on the network?

I see the port option on the project init call but don't se any options for changing the host.

Thanks.

Brian Frank Fri 30 May

Its not in the command line setup. But you configure that via the addr tag on the http ext record. See the code

Nick Sexson Fri 30 May

Thanks. Got that part working. Can access the login and shell from another network location but it looks like the haystack connection isn't working. Getting a 404 error. Do I also need to specify the address somewhere else for the Haystack API to function?

Brian Frank Sat 31 May

Remember that in Haxall the haystack API is just /api - you should able to hit "/api/about?format=trio"

Login or Signup to reply.