Using the example from
https://github.com/spray/spray-template I can build
and run a simple http server using the default interface as "localhost"
and the port 8080.
Checking with curl on localhost:8080 or
http://127.0.0.1:8080 works.
But when I try using the host's ip address or local dns name fails,
giving me a "curl(7) couldn't connect to host" error.
In contrast, when I try python's built-in http server on the same port --
"python -m SimpleHTTPServer 8080" -- I can connect using curl to all three
(localhost/
127.0.0.1, ip address, dns name).
Is there some type of hosts configuration I also need when running my
spray server?