refine the get port, return a vector<string> contains ports.
refine config, return the vhosts vector.