disabled debug log
made socket host dynamic