checks for 3000 and localhost on startup