Change IP LocalHost xampp VM on OSX

how can I change my ip localhost to xampp VM on osx? example from 192.168.64.6 to 192.168.64.2

thank you

xampp preview