Not able to connect nginx server ater creating container in browser

This site can’t be reached
localhost refused to connect.
Did you mean http://locallhost.com/?
Search Google for localhost
ERR_CONNECTION_REFUSED

Please help