Fixed issue #2, and fixed Port configuration.