Situation: Currently faces a situation where I had to showcase a use case locally developed on my personal machine to clients. In oder to achieve this had to expose my localhost services over the web so that it can be viewed. Observations: There are 2 solutions to exposing the local services using port forwarding. 1. Configure your router to open specific ports of your router a.k.a Port forwarding. Where in the router can be configured with opening the port of the router and exposing a specific port of your machine. This has some risks inv…
Senario: Weblogic container consisted of 3 servers on port 7001, 8001 & 9001. On addition of additional server there was a need to expose and additional port 9002. As port 9002 was not exposed the services over the port ver not exposed externally. Below is the image of the current state of the container using docker ps command. We expect to expose the port 9002 without recreating the container. Above image shows the expected port post updates. Solution: 1. list the containers using docker command. docker ps 2. Shut down all the container…