add host for listen function