Host services
curl <url> / wget <url>
Fetch a page over TCP 80 (http://) or list/fetch files over FTP (ftp://). The answer comes only from a device whose web or FTP service runs, across the real path.
Works on: PC, Server, Printer, NASMode: shell
Example
PC1# curl http://www.lab/Watch out
'Connection refused' = reached, nothing listening. 'Connection timed out' = an ACL, route or cable stopped it.
Run this command live
Don't just read it — type curl <url> / wget <url> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "curl <url> / wget <url>" command do?
Fetch a page over TCP 80 (http://) or list/fetch files over FTP (ftp://). The answer comes only from a device whose web or FTP service runs, across the real path.
What's the common gotcha with "curl <url> / wget <url>"?
'Connection refused' = reached, nothing listening. 'Connection timed out' = an ACL, route or cable stopped it.
Example of "curl <url> / wget <url>"
PC1# curl http://www.lab/