Images are not being populated in discourse

I have installed discourse by implementing the link given below.

I need to set up discourse for my company but it seems that after creating a new topic incorporating an image we are not able to view the image.

Failed to load resource: net::ERR_CONNECTION_REFUSED from
but i can use ip of the server instead of local hostto get a png.

Thank you everyone who helps.

Please do not use the dev guide to install Discourse.