devops-master-class icon indicating copy to clipboard operation
devops-master-class copied to clipboard

Issues while running java application image

Open arpitcoder opened this issue 4 years ago • 4 comments

When I run this java application provided by you with the command- docker run -p 5000:5000 in28min/hello-world-java:0.0.1.RELEASE

And also when i try to run the rest api by - docker run -d -p 5001:8080 in28min/hello-world-rest-api:0.0.1.RELEASE

For the other python and nodejs application they are running fine.

Container do get up and running but when i go to check the localhost port to check the application, I don't anything there.

Do I need some other dependencies to install like apache tomcat or anything else.?

I am using Macbook pro M1 chip.

Please help ..!!

arpitcoder avatar May 02 '21 08:05 arpitcoder

same here, apple macbook m1 chip as well

yaroslavsadin avatar Nov 21 '21 22:11 yaroslavsadin

Just refresh the docker application and it'll work fine after that .

PrathamJaiswal001 avatar Mar 05 '22 17:03 PrathamJaiswal001

is it still open @arpitcoder

DdeathCoder avatar Nov 24 '22 21:11 DdeathCoder

You should first check the docker logs and then check for port that mentioned in configuration and also see if it is matching with the port in local host . You can also verify the firewall to see ang blockage .

170031284 avatar Apr 12 '24 18:04 170031284