Fixed issues with SQL and port not changing from default