Develop > Persistence layer > Work with WebSphere Commerce services
Externalize WebSphere Commerce services
The default ports for WebSphere Commerce services in the production environment are 8007 for non-SSL and 8006 for SSL. These services use the preview virtual host. This means that by default, the services can be accessed internally, but not externally, unless these ports have been opened by the firewall.
WebSphere Commerce Developer uses the default ports for WebSphere Commerce services, 80 for non-SSL and 443 for SSL.
However, if these servers are to be exposed externally, there are two options you can consider. The first is to open those ports externally by changing the firewall configuration (and is outside the scope of this documentation). The second option, which is described in the steps below, is to move the services to port 80 and 443. The following steps explain how to move the services to externalized ports.
To move WebSphere Commerce services to ports 80 and 443:
Procedure
- Open the WebSphere Application Server Administration Console
- In the options tree, select Enterprise Applications.
- Select the WebSphere Commerce Application
- Select Web Modules.
- For each HTTP interface web module, change the virtual host to the virtual host associated with the external ports.
- Select the web module.
- Select Virtual Hosts.
- Change virtual host from VH_preview_<instance name> to VH_<instance name>
- Click Save to save the changes.
- Save the new configuration
- Regenerate the web server plug-in.
Related concepts
WebSphere Commerce Web services
WebSphere Commerce service module