When i want to access the server on the app button on mac the server opens the old ip what can I do

When i want to access the server on the app button on mac the server opens the old ip what can I do