How to listen on an IPv6 address using cpprestsdk http_listener?

Manohar Panwar 1 Reputation point
2022-05-12T03:52:13.3+00:00

I am trying to listen on ipv6 address using cpprestsdk http_listener, I am getting below error.

Starting listener at url.http://[fe80::a3fe:944b:534f:7ec%enp24s0f1]:8585
terminate called after throwing an instance of 'web::uri_exception'
what(): Invalid hexadecimal digit

============================================
While using address as "http://[::1]:8585"

terminate called after throwing an instance of 'boost::wrapexceptboost::system::system_error'
what(): resolve: Service not found

Skype for Business Linux
Skype for Business Linux
Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.Linux: A family of open-source Unix-like operating systems.
459 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.