Let's say I have a server with IP address 192.168.0.1 that is running a network service (I don't think it is important what kind - let's say a webserver on port 80).
If I am on the server itself and connect to localhost:80, the packets will never physicaly leave the host.
What is the packet flow if I am on the server and access 192.168.0.1? Will the packets leave the physical interface to the next switch/hop and come back to the server? I know that there is no need to route the packet, so a router must not be involved.