Choose an IPv4 address outside RFC 1918 private space, loopback, and link-local ranges.
Do not use a documentation-only example address.
Which address fits?
8.8.8.8 is outside the listed special-use ranges. Actual public reachability still depends on routing and operational policy.
Detailed explanation
8.8.8.8Correct. It is outside the private, loopback, and link-local ranges listed.
10.8.8.8Incorrect. 10.8.8.8 is in the RFC 1918 10.0.0.0/8 range.
127.0.0.8Incorrect. 127.0.0.8 is loopback.
169.254.8.8Incorrect. 169.254.8.8 is link-local.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import ipaddress; a=ipaddress.ip_address('8.8.8.8'); print(a.is_private, a.is_loopback, a.is_link_local)"Expected result
False False FalseKey points
- Exclude RFC 1918
- 127/8 is loopback
- 169.254/16 is link-local
Notes
- Environment: Python 3 ipaddress / 外部通信なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Network prefix
The part of an IP address that identifies the network rather than a host.
Transport protocol
TCP and UDP provide different delivery, reliability, and connection semantics.
Service port
A numbered endpoint used to deliver traffic to a network service.