ci.docker.websphere-traditional icon indicating copy to clipboard operation
ci.docker.websphere-traditional copied to clipboard

Port 9080 applications

Open cezarsg opened this issue 4 years ago • 4 comments

I cant acesss deployed applications at port 9080. How should it work? Look like this port is not exposed ou is it another port??

cezarsg avatar Oct 22 '20 15:10 cezarsg

Are you mapping the ports when you do docker run? From the main README:

Running the image by using the default values

   docker run --name was-server -h was-server -p 9043:9043 -p 9443:9443 -d \
   websphere-traditional:latest

BradleyMayo avatar Oct 22 '20 17:10 BradleyMayo

Usually WebSphere uses four different ports in its deployment by default, 9043, 9060, 9080 and 9443. Extending @BradleyMayo answer, full bind will be...

   docker run --name was-server -h was-server -p 9043:9043 -p 9060:9060 -p 9080:9080 -p 9443:9443 -d \
   websphere-traditional:latest

Few tips to note for those new to docker...

  • When working in Office/VPN environment, docker for desktop seems binds to IP address of your PC/host, and not be available at localhost based URLs. But, links will be available via host name/IP address. For example, http://pcname:9060/ibm/console for admin console, http://pcname:9080/appname/
  • the port mapping in command line, -p hostport:dockerport, so -p 11080:9080, application will be available at http://pcname:11080/appname/

srbala avatar Nov 22 '20 13:11 srbala

@cezarsg this is not an issue, try the responses above and close the issue

srbala avatar Dec 11 '20 12:12 srbala

@cezarsg any update?

@BradleyMayo this is not an issue, please review and close

srbala avatar Dec 18 '20 06:12 srbala