Fix HTTP_PORT replace