correct default port config for proxy and deserialize function