非localhost访问OpenCms

opencms-system.xml里面

<sites>
      <workplace-server>http://localhost:8080</workplace-server>
      <default-uri>/sites/default/</default-uri>
      <site server="http://localhost:8080" uri="/sites/default/"/>
    </sites>

 的localhost全部改成你自己的IP这样http://192.168.1.**/opencms/opencms/system/login就可以访问了

 

你可能感兴趣的:(xml)