small fix for duckpan, added check for port and check for https: with port (meaning its a dev instance)