I passed an url http://2001:420:589a:2009::101/
, which included an IPv6 address of my test server, to the constructor of http_listener and then called http_listener.open().wait()
, unfortunately I got an exception saying resolve: Service not found
.
I'm wondering how to listen on an IPv6 address correctly using cpprest http_listener. Or does http_listener not support IPv6 at all currently?
I'm using cpprestsdk v2.9.1.