Replace localhost by catalog