Adding WMS layer to AGOL from GeoServer (localhost)

09-01-2017 06:40 PM
New Contributor II

Hello Everyone,

I am trying to add a WMS layer to AGOL that I published to GeoServer. GeoServer is hosted locally on my computer.

The URL I'm using is as follows:


After having done some research I do realize that the localhost might be a problem too since that is protecting my published layer from being publicly available, and therefore, AGOL is failing to see it. Is there a way around it? How can I make the layer be publicly available or is there an alternative URL available by GeoServer that'll allow AGOL to see my layer?

Any advice is greatly appreciated!

Thank you,


0 Kudos
1 Reply
New Contributor II

The problem is resolved now. I replaced the localhost with my public IP (which you can find by typing into Google "What is my IP") and also made sure that my firewall is not blocking port, 8080. You can go to your firewall's ports and security tab, add port, 8080 and enable communication through it.

0 Kudos