OpenCMS 设置IP地址访问后台

<sites>
  <workplace-server>http://localhost:8080</workplace-server>
  <default-uri>/sites/default/</default-uri>
  <shared-folder>/shared/</shared-folder>
  <siteserver="http://localhost:8080" uri="/sites/default/"/>
</sites>

2.将localhost改为服务器的IP地址(如192.168.0.10):

<sites>
  <workplace-server>http://192.168.0.10:8080</workplace-server>
  <default-uri>/sites/default/</default-uri>
  <shared-folder>/shared/</shared-folder>
  <site server="http://192.168.0.10:8080" uri ="/sites/default/"/>
</sites>

3.重启服务,即可使用IP地址访问后台页面。