{"action":"closed","issue":{"url":"https://api.github.com/repos/rickbergfalk/postgrator/issues/15","repository_url":"https://api.github.com/repos/rickbergfalk/postgrator","labels_url":"https://api.github.com/repos/rickbergfalk/postgrator/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/rickbergfalk/postgrator/issues/15/comments","events_url":"https://api.github.com/repos/rickbergfalk/postgrator/issues/15/events","html_url":"https://github.com/rickbergfalk/postgrator/issues/15","id":148306028,"number":15,"title":"Unable to give port to mssql driver","user":{"login":"feugy","id":186268,"avatar_url":"https://avatars.githubusercontent.com/u/186268?v=3","gravatar_id":"","url":"https://api.github.com/users/feugy","html_url":"https://github.com/feugy","followers_url":"https://api.github.com/users/feugy/followers","following_url":"https://api.github.com/users/feugy/following{/other_user}","gists_url":"https://api.github.com/users/feugy/gists{/gist_id}","starred_url":"https://api.github.com/users/feugy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feugy/subscriptions","organizations_url":"https://api.github.com/users/feugy/orgs","repos_url":"https://api.github.com/users/feugy/repos","events_url":"https://api.github.com/users/feugy/events{/privacy}","received_events_url":"https://api.github.com/users/feugy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-14T09:40:32Z","updated_at":"2016-04-26T15:47:12Z","closed_at":"2016-04-26T15:47:12Z","body":"I just discovered that postgrator is always using Microsoft's SQL Server default port when connecting.\r\n\r\nIt's due to the configuration object given to [mssql](http://patriksimek.github.io/node-mssql/#cfg-general) driver used: it awaits for a `port` property which is [never given](https://github.com/rickbergfalk/postgrator/blob/9ffa027498cdaef6aa9c8d1947faed8d549d1559/lib/create-common-client.js#L101).\r\n\r\nI did not find in postgrator documentation/code any way to change the connection port, and I guess it must be provided in the `server` configuration property, right ?"}}