title: IBM Websphere Liberty Profile:How to map Public IP Address in Websphere
body: <p>I am trying to map my server public ip addresss in Websphere LP server.xml file but when i tried to access it from outside i am getting a connection error. I tried giving host="localhost" and tried to access from server itself,it is working fine.</p>
  
  <p>Is there anything i need to configure in Websphere LP to access it from outside.</p>
  
  <p>Server.xml file</p>
  
  <pre><code>&lt;server description="new server"&gt;
  
      &lt;!-- Enable features --&gt;
      &lt;featureManager&gt;
          &lt;feature&gt;jsp-2.2&lt;/feature&gt;
          &lt;feature&gt;localConnector-1.0&lt;/feature&gt;
      &lt;/featureManager&gt;
  
      &lt;httpEndpoint host="*" httpPort="8007" httpsPort="9443" id="defaultHttpEndpoint"/&gt;
  
  
  
      &lt;applicationMonitor updateTrigger="mbean"/&gt;
  
  
      &lt;library id="worklight-6.0.0"&gt;
          &lt;fileset dir="C:\IBM\Liberty\usr\shared\resources" includes="worklight-jee-library-6.0.0.jar"/&gt;
      &lt;/library&gt;
  
      &lt;library id="apps-common"&gt;
          &lt;fileset dir="C:\IBM\Liberty\usr\shared\resources" includes="org.hsqldb.hsqldb_2.2.5.jar"/&gt;
      &lt;/library&gt;
  
      &lt;application context-root="/DemoApp" id="DemoApplication" location="DemoApplication.war" name="DemoApplication" type="war"&gt;
          &lt;classloader commonLibraryRef="worklight-6.0.0,apps-common"/&gt;
      &lt;/application&gt;
  &lt;/server&gt; 
  </code></pre>
  
  <p>Any help is appreciated.</p>