mick.crane wrote: > On 2025-01-21 08:41, to...@tuxteam.de wrote: > > Not quite sure what is meant by that. The link is > http://rapunzel.home/roundcubemail > Are you supposed to be able to ping a service? > > mick@courgette:~$ ping http://rapunzel.home/roundcubemail > ping: http://rapunzel.home/roundcubemail: Name or service not known > mick@courgette:~$ ping http://rapunzel.home > ping: http://rapunzel.home: Name or service not known > mick@courgette:~$ ping rapunzel.home > PING rapunzel.home (10.0.0.2) 56(84) bytes of data. > 64 bytes from rapunzel.home (10.0.0.2): icmp_seq=1 ttl=64 time=0.130 ms
ping sends an ICMP packet to an IP address (which may be specified or looked up from a domain name) and reports the time between sending and receiving a reply packet. It can be blocked by a firewall, dropped by a busy router, or not answered because the other end has decided not to do so (rare) or is not working. A service designated by a URL (such as http://rapunzel.home/) uses the same domain name lookup to find the IP address, but the specific protocol (http, here) must be used to make requests. curl is a tool which can make requests in many protocols. There are others. -dsr-