fix memcached port error