一:先注册 花生壳账号 可获取 域名
二:Tomcat配置
Service.xml
<Engine name="Catalina" defaultHost="aberstin.6655.la">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="aberstin.6655.la" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
三:路由器配置
http://192.168.1.1