move API url port config to correct location