You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method to_v4 throws "bad_cast" when address is considered as v6 address.
For me its looks like bug, because it may be not obvious if listening address will be considered as v6 address. I faced with this problem when deployed application to Ubuntu 14.04 server, and run it on "localhost" address. In server address "localhost" is linked both to 127.0.0.1 ( v4 address ) and to ::1/128 (v6 address). Because of this application crashed on server, but runs perfectly on machines without ip v6 installed.