separate port and host config in template

this fix separates the port and hot web_interface_host setting