(1)8080 8443 8009
%ofbiz_home%/framework/catalina/ofbiz-component.xml
%ofbiz_home%/framework/webapp/config/url.properties
(2)1099
%ofbiz_home%/framework/base/ofbiz-component.xml
<!-- load the naming (JNDI) server -->
<container name="naming-container" loaders="rmi" class="org.ofbiz.base.container.NamingServiceContainer">
<property name="host" value="0.0.0.0"/>
<property name="port" value="1099"/><!-- 此處修改端口為你所需要的端口 -->
</container>
%ofbiz_home%/framework/service/ofbiz-component.xml
<!-- RMI Service Dispatcher -->
<container name="rmi-dispatcher" loaders="rmi" class="org.ofbiz.service.rmi.RmiServiceContainer">
<property name="bound-name" value="RMIDispatcher"/>
<property name="bound-host" value="127.0.0.1"/>
<property name="bound-port" value="1099"/><!-- 此處修改端口為你所需要的端口 -->
<property name="delegator-name" value="default"/>
<property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
<property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/>
<property name="ssl-keystore" value="framework/base/config/ofbizrmi.jks"/>
<property name="ssl-keystore-type" value="JKS"/>
<property name="ssl-keystore-pass" value="changeit"/>
<property name="ssl-keystore-alias" value="rmissl"/>
<property name="ssl-client-auth" value="false"/>
</container>
(3)10523
%ofbiz_home%/framework/start/src/org/ofbiz/base/start/start.properties