This article has links to websites or programs outside of Scratch and Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites. |
An IP address (Internet Protocol address) is a unique address that determines a computer's identity on its local network (LAN) or a broadband's identity on the internet. The main router/cable, dsl, or mobile modem are assigned a public IP address. Devices connected to a network are assigned a local IP address. IP addresses range from 0.0.0.0 to 255.255.255.255 (or 0:0:0:0:0:0:0:0 to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF for ipv6)
A public IP address identifies a network connected to the World Wide Web, while a local IP address identifies a device on a local network, in the form of 192.168.x.x (or, only on the user's computer, 127.0.0.1 or "localhost").
On the old Scratch 1.4 website, the user's IP address could be found at the bottom of all pages on the website.
When the Scratch Team IP-bans someone, they prevent computers with that IP address to access the site.
One can find their IP address by searching on Google, "my IP". Then it will show up in a box where the links to other sites are.
LAN Network
A LAN network is a local-area network formed from multiple computers being connected to a router. Whenever multiple computers are on a network together, they form a LAN network, allowing them to communicate data with each other. On a LAN network, each computer has a local IP address specifically identifying itself on that network. The local IP address is subject to change but is needed for the router to know where to send its data. Without local IP addresses, a router would not know what computer the data is intended for.
Note: | A computer not connected to a network does not have a local IP address but has a MAC address for identification. |
WAN Address
Servers, routers, and other high-end data-communication machinery have their own WAN address (wide-area network). The WAN address identifies a router or server across the Internet and the entire globe. For example, when accessing the Scratch website, the computer sends data to a router likely by communicating with the router's local IP address. Then, the modem, which is typically connected to the router if not part of it, finds the Scratch servers and requests certain data from it, such as the home page. Along with the requested data, the WAN address is sent so the server knows where in the world to send the information back. The information comes back to the modem/router, and then the LAN address is used to send it to the proper computer on the local network.
Ports
Ports are different connection "slots" on a target machine. For example, connecting to a website usually uses HTTP, which runs on port 80. HTTPS runs on port 443 and the cloud server uses port 531. IP addresses with ports look like this:
123.123.123.123:80
Finding a site's server's WAN Address
Note: | This only works on Windows. |
Hold the Windows key, and press "R" and type "cmd" in the box. Press enter. A black console window should open up. Type:
ping server-name-here.com
The following should be shown:
Pinging server-name-here.com [123.123.123.123] with 32 bytes of data:
In this example, server-name-here.com is the website name, and 123.123.123.123 is its IP address.
Network Address Translation
Network Address translation allows multiple local ips to use 1 public ip. Each device shares 1 public ip.