I need to know if WMS of geoserver with "localhost" url linked in openlayers or leaflet code will show on public access by other users/clients or will not be shown?

1 Answer 1


No, it will not be visible to anyone but you. When a user displays your webmap, the code will try to read from his computer (localhost), which doesn't have a running Geoserver, and will fail.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.