Different ports support with hosts option