comparison OrthancServer/main.cpp @ 2633:40c7926b75f8

log about remote access allowed
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 May 2018 18:53:47 +0200
parents fcf447be9e97
children 33c0b4da8cb2 52217dc47a4e
comparison
equal deleted inserted replaced
2595:42ac291f7b3f 2633:40c7926b75f8
791 << httpServer.GetPortNumber() << " is below 1024), " 791 << httpServer.GetPortNumber() << " is below 1024), "
792 << "make sure you run Orthanc as root/administrator"; 792 << "make sure you run Orthanc as root/administrator";
793 } 793 }
794 794
795 httpServer.Start(); 795 httpServer.Start();
796 LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber()
797 << " (HTTPS encryption is "
798 << (httpServer.IsSslEnabled() ? "enabled" : "disabled") << ")";
799 796
800 bool restart = WaitForExit(context, restApi); 797 bool restart = WaitForExit(context, restApi);
801 798
802 httpServer.Stop(); 799 httpServer.Stop();
803 LOG(WARNING) << " HTTP server has stopped"; 800 LOG(WARNING) << " HTTP server has stopped";