This question was sparked, because of videos on YouTube showcasing people find the IP address of other people on games or video call websites seemingly at ease. How can I protect myself from this?
Here is my rudimentary understanding, which I copied from information I found on the internet:
When connecting to a server, my understanding is that the process begins with a connection to a DNS server. This DNS server retrieves the IP address of the desired server. Following this, my computer initiates a connection to the server at the retrieved IP address using the HTTP or HTTPS protocol. Once the connection is established, my browser sends a request to the server for the data of the website, and the server responds by sending back the requested data, which my browser then uses to render the website on my screen. Throughout this process, my IP address is visible to both the DNS server and the server hosting the website, a necessary step for them to send the requested data back to my computer. However, other users on the network typically cannot see my IP address unless the server is specifically set up to share this information. This holds true regardless of the type of server, be it a VPN, a website server, or a direct connection to another person’s computer. I would appreciate any corrections or additions to my understanding of this process.
TL;DR (source): any link you click on will need to provide your IP address for the server at the other end to deliver the content provided by the link. Every time you visit a website, your IP address is collected and stored on a server. Anyone who owns that server can go and look it up. Hackers can set up a fake hotspot and view your IP address and personal information or even infect your device with malware. Be extra careful when using public Wi-Fi.
So, from this information I know that I need to avoid connecting to untrustworthy servers, which are those that are either deliberately or accidentally, via security flaws (what are these?), exposing this information to other users connected to this server or to servers outside of this one. I also need to avoid direct connections to other people’s computers. This begs the question, how can I tell whether or not I am directly connected to someone’s computer, such as on a Torrent website? It also begs the question, how can I identify if a website or game for example, has security flaws or is intentionally sharing my info with other users of the server? Those IP logger websites that make links which you can send to people to try and get them to click are obvious to some non-IT trained users like me, but others may not be.
Does making comments on sites such as YouTube, Facebook or Reddit reveal my IP to moderators or are these only available to Facebook themselves?
I also heard some people talking about Wireshark, network debugging tools, tracers and other scaring sounding stuff, do these bear relevance here? Illegal methods weren’t mentioned.