for remote sql server, the port # is 1433. The following is the Tornado aspx code to do that ->


<script language='vb' runat='server'>
Sub Page_Load(Source as Object, E as EventArgs)
Dim T As New Tornado.Z()
T.dbSkin=1
T.dbDBType="SQL"
'...ServerName or IP,Port; DBName; UID; Password; User_Specified
T.dbDSN="www.fkw.us,1433;pubs;id;pass;Network Library=DBMSSOCN;Connect timeout=15"
T.dbSQL="SELECT * FROM authors"
T.ASPdbNet
'...This is the way to connect to an MS-SQL WAN server via IP. URL will be converted to IP.
End Sub
</script>