diff --git a/apm-dist/bin/webappService.bat b/apm-dist/bin/webappService.bat index e8d0c943c508005db4f169cf672da7cf0432ff8b..daefd067da9572981a94462490079a8314cc6285 100644 --- a/apm-dist/bin/webappService.bat +++ b/apm-dist/bin/webappService.bat @@ -14,5 +14,5 @@ if not defined JAVA_HOME ( set _EXECJAVA=java ) -start "%WEBAPP_PROCESS_TITLE%" %_EXECJAVA% -jar %JARPATH%/skywalking-webapp.jar +start "%WEBAPP_PROCESS_TITLE%" %_EXECJAVA% -jar %JARPATH%/skywalking-webapp.jar --server.port=8080 --collector.ribbon.listOfServers=127.0.0.1:10800 endlocal diff --git a/apm-dist/bin/webappService.sh b/apm-dist/bin/webappService.sh index 07b951b83fa395433db87a49e67bd611ec9af17f..9ecb4977d6fd0f6519d7187a26ea147c5bc66f3a 100644 --- a/apm-dist/bin/webappService.sh +++ b/apm-dist/bin/webappService.sh @@ -16,6 +16,7 @@ _RUNJAVA=${JAVA_HOME}/bin/java [ -z "$JAVA_HOME" ] && _RUNJAVA=java eval exec "\"$_RUNJAVA\" ${JAVA_OPTS} -jar ${JAR_PATH}/skywalking-webapp.jar \ + --server.port=8080 --collector.ribbon.listOfServers=127.0.0.1:10800 \ 2>${WEBAPP_LOG_DIR}/webapp.log 1> /dev/null &" if [ $? -eq 0 ]; then