change socket host to dynamic