diff --git a/201/Lab-Sheet.md b/201/Lab-Sheet.md index 0dd59f3..b4a6b4e 100644 --- a/201/Lab-Sheet.md +++ b/201/Lab-Sheet.md @@ -356,12 +356,14 @@ sudo ufw allow http ``` ### Testing it out -At this point you should bee able to type the IP address of your server into your web browser and see the default configuration page. You can inspect the network interfaces and ask them for their IP addresses. This is done like so: +At this point you should bee able to type the IP address of your server into your web browser and see the default configuration page. You can obtain your server's IP address by using the `hostname` command like so: ```bash -ip addr +hostname -I ``` + Another, but less reliable, way of finding your IP address is to use an online service. Such services report back to you your external IP address. If your server is located on a complex network, the IP address such a service reports may not be the local IP address of your server, however. You can utilise a service like this as follows: