added 'import os'
set port and host