I'm new using MapServer and I want to serve some layers using WMS. I managed to see the layer using the browser but I've got an error using the same URL in QGIS (Error downloading http://localhost/cgi-bin...). I've also tried ArcMap and is not loading the layer either.

My URL is:


I tested the link using this web WMS and it is also working (wmsviewer-rodis.rhcloud.com).

Do you have an idea why the URL is not working in this software?

  • 1
    Try to delete all between the ? and SERVICE .Those map definitions may not be working for Qgis and ArcMap.
    – Matte
    Commented Oct 24, 2016 at 16:17
  • 1
    Don't believe in the previous comment. Without some tricks on the server side you can't leave out the "map=..." parameter. What was the connection string that you used with QGIS? I hope you do not use the whole GetMap url. And what do you have as "wms_onlineresource" metadata? See mapserver.org/ogc/wms_server.html for reference.
    – user30184
    Commented Oct 24, 2016 at 20:02

1 Answer 1


QGIS is happy with this as the URL:


QGIS adds the request=GetCapabilities and other parameters. Once you've got that working, it will give you a dialog to select the layer and will form the bounding box and other parameters for you.

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.