bind application to localhost