yattaman wrote:
Ermanno Polli wrote:
The "localhost" is mainly for testing your internet application/server. Everything addressed to localhost goes thru the full TCP/IP protocols but actually it doesn't leave your computer.
If you copy files in localhost, the files act as if they were copied to another computer, via internet.
Ciao, Ermanno
So, please confirm:
The "files" on the localhost are essentially aliases of the original. When I open a folder on localhost, I'm looking at the contents of the original folder on my hard disk. There are no duplicated files or folders. When I delete a folder from localhost, it removes the "alias" from localhost, and the original files on my hard disk are maintained.
They are not aliases they are the real files. If you delete it you delete the file.
BTW. I tried to connet to my"localhost": afp://localhost/. A warning pops up saying "This file server is running on your machine. Please access the volumes and files locally".
Perfectly right. localhost is the machine where you are.
----
Also asked previously:
I accessed a remote backup service by entering
"http://localhost:some-numbers-here-provided-by-backup-service/"
into the "Connect to Server" window.
It connected to a volume with the URL "http://localhost:SAME-numbers-here"
Why does it still have "localhost" in the URL, if this is actually a connection to a real remote server?
There is an advanced use of localhost, but this involves some unix commands. Namely ssh.
It's called a "ssh tunnel".
It's a special way to connect to computers behind a firewall. In short, you create a "tunnel" through the firewall using a "middle way" computer outside the firewall but connected to machines behind it: a "bastion host".
This tunnel begins at your machine and ends inside the firewalled environment. So you connect to localhost but actually you connect to the machine on the other side.
It could be this is your case.
(If I use the application provided by the remote backup service, it connects to their server, and a volume with the name of the service appears on my desktop.)
Yep. It seems like a ssh tunnel. But you have to set up your side of the tunnel. Maybe the service manager gave you a shell script to run, before connecting.