ignore http port when possible