comparison OrthancServer/main.cpp @ 158:00604c758004

default http port
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 Oct 2012 14:15:32 +0200
parents 0e97abc7b950
children 662af781a227
comparison
equal deleted inserted replaced
157:a63fb54819d7 158:00604c758004
216 dicomServer.SetPortNumber(GetGlobalIntegerParameter("DicomPort", 4242)); 216 dicomServer.SetPortNumber(GetGlobalIntegerParameter("DicomPort", 4242));
217 dicomServer.SetApplicationEntityTitle(GetGlobalStringParameter("DicomAet", "ORTHANC")); 217 dicomServer.SetApplicationEntityTitle(GetGlobalStringParameter("DicomAet", "ORTHANC"));
218 218
219 // HTTP server 219 // HTTP server
220 MongooseServer httpServer; 220 MongooseServer httpServer;
221 httpServer.SetPortNumber(GetGlobalIntegerParameter("HttpPort", 8000)); 221 httpServer.SetPortNumber(GetGlobalIntegerParameter("HttpPort", 8042));
222 httpServer.SetRemoteAccessAllowed(GetGlobalBoolParameter("RemoteAccessAllowed", false)); 222 httpServer.SetRemoteAccessAllowed(GetGlobalBoolParameter("RemoteAccessAllowed", false));
223 223
224 httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", false)); 224 httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", false));
225 SetupRegisteredUsers(httpServer); 225 SetupRegisteredUsers(httpServer);
226 226