Learning paths / Cloud foundations / IP addresses and ports

Check: addresses and ports

Knowledge check · 5 min · Module 4, lesson 4 of 45 min left in this module

Module 4 · IP addresses and portsLesson 4 of 4

Goal: Confirm you can tell public from private addresses, read ports, and fix an app that only listens on localhost.

Four questions: three on this module, one on Module 2. Every answer explains itself, right or wrong.

A database server has the address 10.0.4.7. Can someone on the internet connect to it directly?
Two apps on the same server both want port 8080. What happens?
Your FastAPI app runs with 'uvicorn main:app'. It works on your laptop, but deployed, the platform says it never became ready. What's the fix?
From Module 2: your app gets stopped and restarted whenever someone uploads a large file. What has it most likely run out of?

Retry as often as you like.

Before you go, name each part.

Addresses and ports at a glance: from memory

Name each part before you reveal it.

Finds one machine on a network.
Works inside one network only.
Finds one program on that machine.
127.0.0.1 answers only itself; 0.0.0.0 answers everyone.
An address finds the machine, a port finds the program, and where your app listens decides who can reach it.