fix http port setting