Docker Community Forums

Share and learn in the Docker community.

Getting Character encoding error in AWS EC2 docker instance for Eureka

docker
aws

(Saurabhdockertm) #1

I have Eureka server running at port 9090 in a docker container in windows environment. When I hit http://[host]:9090, I can see Eureka home page.

When I move same fat jar in AWS EC2 docker instance, the server run without any error. But when I hit http://[host]:9090 then I get below error -

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.

When I googled I found that html page should have I checked this is already there in Eureka. Any clue?