<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I read your post just for curiosty, in fact I have no experience
      with Qgis Server. Otherwise while exploring this feature I found
      the following in the Documentation:</p>
    <p>"If you want QGIS Server to advertise specific request URLs
      in the WMS GetCapabilities response, enter the corresponding URL
      in the
      <em class="guilabel">Advertised URL</em> field."[1] Maybe that
      helps.</p>
    <p><br>
    </p>
    <p>Cheers.</p>
    <p><br>
    </p>
    <p>Stefan<br>
    </p>
    <p><br>
    </p>
    <p>[1]
<a class="moz-txt-link-freetext" href="http://docs.qgis.org/2.14/en/docs/user_manual/working_with_ogc/ogc_server_support.html#wms-capabilities">http://docs.qgis.org/2.14/en/docs/user_manual/working_with_ogc/ogc_server_support.html#wms-capabilities</a><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 02.06.2017 um 15:19 schrieb Henrik
      Uggla:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1496409590688.22886@kristianstad.se">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
      <p>Hi!<br>
      </p>
      <p><br>
      </p>
      <p>I've installed Qgis Server on Linux and have set it up to
        listen on port 81. My problem is that the layer urls in the
        GetCapabilities response are written without port number. How
        can I fix this? (I've confirmed that the request Host header
        includes the port)<br>
      </p>
      <p><br>
      </p>
      <p>regards</p>
      <p>HU <br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>