Avoid using well-known ports for demoMain (#1761)

This commit is contained in:
Ken Matsui 2023-08-28 04:31:17 -07:00 committed by GitHub
parent 5df9b48998
commit 366311c196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#include <drogon/drogon.h> #include <drogon/drogon.h>
int main() { int main() {
//Set HTTP listener address and port //Set HTTP listener address and port
drogon::app().addListener("0.0.0.0",80); drogon::app().addListener("0.0.0.0", 5555);
//Load config file //Load config file
//drogon::app().loadConfigFile("../config.json"); //drogon::app().loadConfigFile("../config.json");
//drogon::app().loadConfigFile("../config.yaml"); //drogon::app().loadConfigFile("../config.yaml");