Added support for automatic exposure of ports. Useful for Mac and Win users