Modifying ports for WC Test Server


There may be instances when you would like to modify the default ports used by commerce toolkit or commerce server, here is a short blog on how this can be achieved, I prefer option 1 which requires simple edit of configuration file, in an environment with webservers you will have to generate and propogate the plugin file from app server to webservers.
Option 1
Make changes by directly editing the configuration file which stores information about ports
C:\IBM\WCDE_ENT70\wasprofile\config\cells\localhost\nodes\localhost\serverindex.xml

Change the value of port to a desired value, save the file and restart server

<specialEndpoints xmi:id="NamedEndPoint_1183121908101" endPointName="WC_adminhost_secure">
      <endPoint xmi:id="EndPoint_1183121908101" host="*" port="9043"/>
    </specialEndpoints>
    <specialEndpoints xmi:id="NamedEndPoint_1183121908102" endPointName="WC_defaulthost_secure">
      <endPoint xmi:id="EndPoint_1183121908102" host="*" port="443"/>
    </specialEndpoints>

Option 2

Make changes from WAS admin console as shown in screenshots below, save your changes and restart test server.






Pituluik Media Blogger | Freelancer |Operations Manager | Marketing and Sales Manager | Lancer Evo 4 Community. Indonesian Bloggers Who Become Bloggers Because of Hobby. Feel free to connect with me on Social Media Instagram @alberandesko

0 Response to "Modifying ports for WC Test Server"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel