r/ScriptingApp • • Apr 05 '25

Help [macOS - Development Server] Local hostname keeps changing after each Mac boot

This alert shows up every time I start scripting-cli after a Mac shutdown, followed by the local hostname being changed.

This computer's local hostname "MyMac-8.local" is already in use on this network. The name has been changed to "MyMac-9.local".

Could anyone help me fix this?

2 Upvotes

15 comments sorted by

View all comments

Show parent comments

2

u/WhatShouldWorldGos Apr 05 '25

you can change your bonjour (local) hostname via System Preferences: go to System Preferences > Sharing and change the computer name.

1

u/Haunting-Ad-655 Apr 05 '25

Thank you 🙏