Automatically replacing localhost as hostname in URL with fully qualified domain name or IP address
First Claim
1. A method for a software developer to electronically communicate a correct Uniform Resource Locator (URL), the method comprising:
- detecting a copying of a URL from a browser to be placed in an electronic communication;
obtaining one of a fully qualified domain name and an Internet Protocol (IP) address of a computing device hosting a resource referenced by said URL in response to said URL specifying an address of a loopback interface of said computing device via a localhost, wherein said loopback interface is used for testing software;
replacing, by a hardware processor of a developer device, automatically said localhost in said URL with one of said fully qualified domain name and said IP address of said computing device thereby ensuring that third party users will be able to retrieve said resource;
providing said URL with one of said fully qualified domain name and said IP address of said computing device to be available to be shared with other users via said electronic communication; and
accessing a domain name system server for translating said fully qualified domain name into said IP address in response to said computing system being relocated.
2 Assignments
0 Petitions
Accused Products
Abstract
A method, system and computer program product for electronically communicating a correct Uniform Resource Locator (URL). The browser detects a copying of a URL to be placed in an electronic communication. In response to determining that the URL specifies an address of a loopback interface of the computing device via a localhost, the browser obtains the Fully Qualified Domain Name (FQDN) or Internet Protocol (IP) address of the computing device hosting the resource (e.g., application) referenced by the URL. The browser replaces the localhost in the URL with either the FQDN or IP address of the computing device. The modified URL is then made available to be shared with other users via electronic communication. In this manner, the localhost is automatically replaced with the correct domain name or IP address thereby ensuring that third party users will be able to retrieve the resource hosted on the computing device.
8 Citations
14 Claims
-
1. A method for a software developer to electronically communicate a correct Uniform Resource Locator (URL), the method comprising:
-
detecting a copying of a URL from a browser to be placed in an electronic communication; obtaining one of a fully qualified domain name and an Internet Protocol (IP) address of a computing device hosting a resource referenced by said URL in response to said URL specifying an address of a loopback interface of said computing device via a localhost, wherein said loopback interface is used for testing software; replacing, by a hardware processor of a developer device, automatically said localhost in said URL with one of said fully qualified domain name and said IP address of said computing device thereby ensuring that third party users will be able to retrieve said resource; providing said URL with one of said fully qualified domain name and said IP address of said computing device to be available to be shared with other users via said electronic communication; and accessing a domain name system server for translating said fully qualified domain name into said IP address in response to said computing system being relocated. - View Dependent Claims (2, 3, 4)
-
-
5. A computer program product embodied in a non-transitory computer readable storage medium for enabling a software developer to electronically communicate a correct Uniform Resource Locator (URL), the computer program product comprising the programming instructions for:
-
detecting a copying of a URL from a browser to be placed in an electronic communication; obtaining one of a fully qualified domain name and an Internet Protocol (IP) address of a computing device hosting a resource referenced by said URL in response to said URL specifying an address of a loopback interface of said computing device via a localhost, wherein said loopback interface is used for testing software; replacing automatically said localhost in said URL with one of said fully qualified domain name and said IP address of said computing device thereby ensuring that third party users will be able to retrieve said resource; providing said URL with one of said fully qualified domain name and said IP address of said computing device to be available to be shared with other users via said electronic communication; and accessing a domain name system server for translating said fully qualified domain name into said IP address in response to said computing system being relocated. - View Dependent Claims (6, 7, 8)
-
-
9. A method for a software developer to electronically communicate a correct Uniform Resource Locator (URL), the method comprising:
-
detecting a copying of a URL from a browser to be placed in an electronic communication; obtaining one or more of a list of possible URLs and a list of possible Media Access Control (MAC) addresses encoded as a single URL for accessing a computing device hosting a resource referenced by one or more of said list of possible URLs and said list of possible MAC addresses in response to said URL specifying an address of a loopback interface of said computing device via a localhost, wherein said loopback interface is used for testing software; replacing, by a hardware processor of a developer device, automatically said URL containing said localhost with said single encoded URL thereby ensuring that third party users will be able to retrieve said resource; providing said single encoded URL to be available to be shared with other users via said electronic communication; and decoding said single encoded URL into said list of possible URLs to access said resource hosted by said computing device. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification