Commit 6f98a4e5 authored by Liang Ding's avatar Liang Ding

独立模式默认启动监听 8080 端口

parent dfe8402e
...@@ -39,7 +39,7 @@ import org.eclipse.jetty.webapp.WebAppContext; ...@@ -39,7 +39,7 @@ import org.eclipse.jetty.webapp.WebAppContext;
* </ul> * </ul>
* *
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.0.3, Nov 29, 2015 * @version 1.0.0.4, Nov 30, 2015
* @since 1.2.0 * @since 1.2.0
*/ */
public final class Starter { public final class Starter {
...@@ -69,7 +69,7 @@ public final class Starter { ...@@ -69,7 +69,7 @@ public final class Starter {
String portArg = commandLine.getOptionValue("p"); String portArg = commandLine.getOptionValue("p");
if (!Strings.isNumeric(portArg)) { if (!Strings.isNumeric(portArg)) {
portArg = "9090"; portArg = "8080";
} }
logger.info("Standalone mode, see [https://github.com/b3log/solo/wiki/standalone_mode] for more details."); logger.info("Standalone mode, see [https://github.com/b3log/solo/wiki/standalone_mode] for more details.");
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# #
# Description: B3log Latke configurations. Configures the section "Server" carefully. # Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.3.2.7, Nov 29, 2015 # Version: 1.3.2.8, Nov 30, 2015
# Author: Liang Ding # Author: Liang Ding
# #
...@@ -26,7 +26,7 @@ serverScheme=http ...@@ -26,7 +26,7 @@ serverScheme=http
# Browser visit domain name # Browser visit domain name
serverHost=localhost serverHost=localhost
# Browser visit port, 80 as usual, THIS IS NOT SERVER LISTEN PORT! # Browser visit port, 80 as usual, THIS IS NOT SERVER LISTEN PORT!
serverPort=80 serverPort=8080
# Note: The context path and static path should be "" (empty string) if deploy Solo on ROOT directory # Note: The context path and static path should be "" (empty string) if deploy Solo on ROOT directory
# (e.g. ${tomcat}/webapps/ROOT/). For other cases, starts with '/' and not ends with '/', for example, /blog # (e.g. ${tomcat}/webapps/ROOT/). For other cases, starts with '/' and not ends with '/', for example, /blog
contextPath= contextPath=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment