HELP! System keeps on changing local hostname

At irregular intervals I receive an error message stating that "This computer's local hostname "XXXXX" is already in use on this network. The name has been changed to "YYYYYYY"."

I was wondering if anyone could explain why this happens, and how to fix this.

Thank you!

MBP2.4Ghz, Mac OS X (10.5)

Posted on Nov 26, 2007 4:21 AM

Reply
22 replies

Apr 27, 2008 1:55 AM in response to Harry Zemel1

Is this the message that everyone else is getting:

Your computer's hostname 'ian-3.local' is already in use. Your computer's host hame has be changed to 'ian-3.local'.

I get this error every couple of weeks perhaps. As you can see, it has already changed me from having no number at the end to -3 and now -4.

The other devices on the network are a windows machine, and the Airport Extreme base station. Xbox is on there too, but hasn't been on for a day or two so couldn't have caused the problem in this instance.

May 29, 2008 10:20 PM in response to UNDEUX

UNDEUX wrote:
I also...(what a surprise) have the same problem. My local machine is on .11 and seems to only happen on Mac books. My Mac Mini remains untouched. Are the guys at Apple look at this forum? It would be nice to come up with a fix.


Yes, it is annoying, but a couple of comments:

If it annoys you to see the .11, or if it wreaks havoc with something you use, then just change the name back in System Preferences --> Sharing (click the Edit button on top of the window.

It doesn't only happen on Mac Books: I do have the problem occasionally on my Mac Pro, but, for some reason, it has never occurred on my MacBook Pro. On the Mac Pro, it's always when I wake the machine from sleep (though that may just be because the only time it ever starts up is after a system update that requires a reboot).

And no, Apple are not looking at this forum, at least not officially. Since the squeaky wheel gets the grease, everyone should report this as a bug. One can do so here: http://www.apple.com/feedback/macosx.html

Daniel

Jun 5, 2008 5:33 AM in response to mtatmc

mtatmc wrote:
This is happening because your hostname is being set by DHCP. When your DHCP lease is renewed the DHCP server assigns you a hostname and IP address. Even if you get the same IP address you might not get the same hostname.


This may be one of the reasons for the problem to occur, but it cannot be the only one. I am experiencing the problem on my Mac Pro which is connected to my Airport Extreme base station by means of an Ethernet cable and is manually configured with a fixed IP address. Interestingly enough, my MacBook Pro and my wife's Powerbook are both connected to the network via Airport with IP addresses assigned by DHCP, and neither laptop ever has this issue. There's something else that's going on here.

Daniel

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

HELP! System keeps on changing local hostname

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.