title: set gRPC hostname to other asside from localhost
body: <p>I would like to change the hostname of the grpc service that i created. </p>
  
  <p>Usually i can access the service through <a href="https://localhost:5001" rel="nofollow noreferrer">https://localhost:5001</a> and i want to change that into something else like <a href="https://apiservice.bml.com:5001" rel="nofollow noreferrer">https://apiservice.bml.com:5001</a>. I am using a certificate with this format *.bml.com and i was able to use it in the service see code below.</p>
  
  <pre><code>webBuilder.ConfigureKestrel(server =&gt;
                      {
                          server.Listen(IPAddress.Loopback, 5001, listenOptions =&gt;
                          {
                              listenOptions.Protocols = HttpProtocols.Http2;
                              listenOptions.UseHttps("bml.pfx", "testabc");
                          });
                      });
  </code></pre>
  
  <p>thanks.</p>