Quantcast
Channel: JACKSLACK 의 블로그
Viewing all articles
Browse latest Browse all 148

VS2022, C++ REST SDK로 서버 구현시 exception

$
0
0
Visual Studio 2022에서 C++ REST SDK 를 사용해서 서버를 만들때, 증상 : F5를 눌러 디버그시 utility::string_t address = U("http://localhost:"); address.append(U("9090")); 로 서버열면 OK utility::string_t address = U("http://*:"); // cf:0.0.0.0 on linux address.append(U("9090")); 로 디버깅시 exception error... web::http::http_exception at memory location 0x0018F5F0. . . . . . 해결 : VS를 관리자모드로 실행해야함.. 그리고... 외부접속허용시 윈도우방화벽에서 포트를 열어야함... 문제의 해결책은 늘 가까운곳에...

Viewing all articles
Browse latest Browse all 148

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>