@@ -77,7 +77,7 @@ namespace EVCB_OCPP.WSServer
app.UseHeaderRecordService();
app.UseOcppWsService();
app.MapApiServce();
- app.Urls.Add("http://*:80");
+ //app.Urls.Add("http://*:80");
app.Run();
//host.Run();
}
@@ -1,4 +1,11 @@
{
+ "Kestrel": {
+ "Endpoints": {
+ "Http": {
+ "Url": "http://localhost:80"
+ }
+ },
"WSPort": 54089,
"WSSPort": "",
"LocalAuthAPI": "",
@@ -18,7 +25,7 @@
"async": true,
"f": {
"type": "File",
- "keepFileOpen": false,
+ "keepFileOpen": false,
"fileName": "/home/logs/server/${shortdate}.log",
"layout": "${longdate} ${uppercase:${level}} ${message}"
},