addred freeport instead of hard coding port numbers
fixed merge issue