The concept of a server is highly extensible and can refer to completely different situations. However, common to all interpretations, whether it is a computer directly acting as a server or a virtual device, is that they all have unique addresses (IP). And quite often, users have questions about how to find out the server address for each specific case. Let's try to highlight some typical situations and understand the main methods used.
Why is it necessary to find out the server address?
But before proceeding directly to the search for the desired solution, we should briefly dwell on what this is generally necessary for. Most often, making such decisions is necessary when resolving some problems with network connections, setting up networks, using game portals, or organizing hosting services. In addition, in some cases, it is necessary to make changes to a particular configuration, and for this it is necessary, at least, to know where to prescribe your preferred settings or even activate the use of connections based on proxy servers.
How to find the server IP address by domain name?
So, let's start with the simplest. And for a start, let’s dwell on how to find out the IP address of a server by a previously known domain name (just by the one that is usually written in the address bar of a browser when a page of an Internet resource is called). To do this, you can use several basic tools on the command line, but the simplest, as most experts believe, is the so-called ping command. In the console (cmd) it is enough to enter the main command, and after a space enter the name of the resource whose address you want to calculate. Please note that protocol specification (http, https, www) is not required in this case. For example, you need to find out the IP of the Yandex start page.
We use ping yandex.ru as a command, after which the exchange of packets will begin. In the first line, as well as in all subsequent ones, the address of the server on which the page is located will be indicated.
Note: you can also use the tracert command, which works almost the same as the previous one, but allows you to perform the reverse operation of determining the resource name by the known IP.
In addition, tracing allows you to track absolutely all the transitions that are carried out from your address until you reach the final resource. Addresses will also be specified for all intermediate hosts.
How to determine the address of your own server?
Now let's see how to find out the server address if your computer plays the role directly. You don’t have to go far for this. First of all, enter the section of active network connections (ncpa.cpl). Here, one connection is directly responsible for the local network, and the second (there may be more) serves to organize access to the Internet. For the first connection via RMB, select the properties item and go to the IPv4 protocol settings. The internal address will be displayed in the very first line, but in the DNS field there will be an external address at which your server is defined on the network.
If we talk about how to find out the server address in a simpler way, you can, as in the first case, use the command line, but use the ipconfig / all command as a tool.
Note: if the computer on which the diagnostics are performed does not act as a server, the addresses of the main gateway, DHCP and DNS servers will match.
In addition, on the Internet now you can find a lot of services that allow you to calculate the address of your computer (server) in automatic mode (but provided that a VPN or proxy is not used).
For example, you can check your own address on the 2ip.ru portal. Naturally, upon activation of the above anonymizers, the identified address will be fundamentally different from the real IP.
In the case of WPS-servers, the best option, according to most experts, is to use information about the included services directly on the hosting or in a brief summary.
Additional DNS Address Resolution Options
If it is about how to find out the address of the DNS server, then in the properties of the same IPv4 protocol, you should look at the corresponding fields. But with a wireless connection, all addresses are assigned automatically! How to find out the server address in this case? As it turns out, there is nothing impossible. In principle, the simplest actions, in addition to the above, include, say, visiting a provider’s resource (if it publishes such information), contacting technical support, etc.
How to find the server address in Minecraft?
Now a few words about determining the address of your own server in the popular online game Minecraft, which may be needed, for example, so that your friends can connect to it. If the server was originally created without using third-party software, the address you are looking for will be displayed in the line "server-ip =". You can also find it in the server.properties settings file. In the case of creating a server, say, in the Hamachi program, it is enough to simply run the desired utility and view the virtual external address. But the line “Starting Minecraft server on *: XXXXX” can be used to determine the port (in our case, XXXXX).
Actions to calculate proxy addresses
And finally, let's see how to find out the address of the proxy server, if used. In the operating system, for this you can use the parameters of any installed browser, where you need to go to the proxy settings, then call the manual settings item and look at the value set in the "HTTP proxy" field.
If we are talking about remote proxy servers that can be used as a means of ensuring anonymity, on the Internet you can find quite a lot of lists containing both names and the same resource addresses through which it is possible to change the external address of your computer when visiting any then blocked or inaccessible to a specific region sites.
Note: in the same way, you can also find pages containing free or paid combinations that can be used to set the values ​​of preferred and alternative DNS servers.