Allowing access to book server via IP address rather than localhost

I want to run the sample code on a real iOS device rather than the simulator. The only issue I can see is allowing connection to the book server running in Terminal via something like http://10.0.1.100:8080/ rather than http://localhost:8080/

This is probably configurable within the MacOS settings, but not sure where. I expect that the author has this totally wired, so I am hoping for some tips.

That’s an interesting question, as far as I know there is a different configuration to bind the external IP of the machine and serve content to clients on the network. I can’t say that I’ve done this with Vapor — maybe someone else on the forums knows?

I’m not familiar with binding the host address with the phone’s. However, what I have done in the past is looked at my host / computer’s network settings and used the local address - provided both devices are on the same network or wifi, they will see each other.