I have been building Spring Boot apps for quite some time on my macbook pro (a high end mac at that).  For quite some time it took quite a bit of time to start up Spring Boot whereas on a Windows environment it was very quick.  Well I finally searched around and found that this command fixed it and now things are so much better 🙂

scutil --set HostName "localhost"