I use Calibre to manage my ebooks.
Caibre has a server option, which I can access on my Ubuntu 12.10 machine through the link:
http://my_computer_name:8080 or through
On another machine on the local network, I can access the server through the IP address but not through the computer name. Since the IP address changes every time I connect, I wish to be able to connect through the computer name.
How do I go about it?
There's a router which manages my network but I do not have much information on it, since I'm not administrator of the network. However, both machines are on the same local network.
cat /etc/hostname gives
avahi-resolve --name username-computer-name.local gives something like this:
username-computer-name.local ff70::465d:57ef:fed5:dd46. (What is this?)
avahi-resolve -n username-computer-name.local gives my my 192.168.0.xxx IP address, the one assigned by the router.
ping username-computer-name gives:
64 bytes from username-computer-name (127.0.1.1): icmp_req=1 ttl=64 time=0.017 ms but my IP address accessible through the network is not 127.0.1.1 but 192.168.0.xxx. I can successfully ping the latter address as well.