I'm a new Finatra user. I'm seeing something strange and perhaps somebody can help me figure out what is going on.
Java, not Scala unfortunately.
I've got a MyServer that inherits from AbstractHttpServer. It runs just fine, but it seems that it binds on either ipv4 or ipv6, while the AdminServer is able to listen on both. I'm not sure why.
If I use listenAddress="127.0.0.1:9090" then it seems I get ipv4 only.
WORKS: curl -v http://127.0.0.1:9090/ -4
FAILS: curl -v http://127.0.0.1:9090/ -6 (Fails because obviously that isnt ipv6 address)
WORKS: curl -v http://localhost:9090/ -4
FAILS: curl -v http://localhost:9090/ -6
That last one is the strange one to me. I get 'Connection refused'. However, I can hit the AdminServer fine on both.
WORKS: curl -v http://localhost:9990/admin -6
WORKS: curl -v http://localhost:9990/admin -4
Am I missing something? Ideally, I would like MyServer to bind the same way that AdminServer does. Is this possible in Finatra?
Thanks
Greg
--
You received this message because you are subscribed to the Google Groups "finatra-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to finatra-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.