一切都在本地很好用,但我想改变localhost:portNumber一些域名.这样我就可以从任何地方访问它,而不仅仅是咨询我的本地机器.我没有找到任何有助于在全球范围内访问swagger文档的帮助.请帮我指定我的网址

public class SwaggerConfig
{
protected static string GetXmlCommentsPath()
{
return System.String.Format(@"{0}\bin\GenericAPI.XML", System.AppDomain.CurrentDomain.BaseDirectory);
}
public static void Register()
{
var thisAssembly = typeof(SwaggerConfig).Assembly;
GlobalConfiguration.Configuration
.EnableSwagger(c =>
{
c.SingleApiVersion("v1", "GenericAPI");
c.IncludeXmlComments(string.Format(@"{0}\bin\GenericAPI.XML",
System.AppDomain.CurrentDomain.BaseDirectory));
}).EnableSwaggerUi();
//GlobalConfiguration.Configuration
// .EnableSwagger(c =>
// {
// // By default, the service root url is inferred from the request used to access the docs.
// // However, there may be situations (e.g. proxy and load-balanced environments) where this does not
// // resolve correctly. You can …Run Code Online (Sandbox Code Playgroud)