Topic
  • 1 reply
  • Latest Post - ‏2008-12-12T11:01:11Z by SystemAdmin
SystemAdmin
SystemAdmin
262 Posts

Pinned topic Howto specify port number for I-Series Access ODBC

‏2008-12-11T17:33:07Z |
Hello,
now this hqas been bugging me for a whole day with little progress.

I am trying to connect to an server on a socket 1.2.3.4:446, but I can't find out how to change to por 446 from the default 8471.

I have tried construcys like
System 1.2.3.4:446

Server 1.2.3.4:446

System 1.2.3.4
Server 1.2.3.4
Port 446

PortNumber 446

under my DSN in /etc/odbc.ini

I can connect just fine using, eg:

cwbping /port:446 1.2.3.4

I have tried specifying Port in the DSN-string in my PHP-code, also with different constructs.

So, to cut to the chase:

How do I specify the port to connect to on the remote server?
Updated on 2008-12-12T11:01:11Z at 2008-12-12T11:01:11Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    262 Posts

    Re: Howto specify port number for I-Series Access ODBC

    ‏2008-12-12T11:01:11Z  
    Duh,

    8471 was the right port to connect to but the admin in the other end gave me the wrong port, as he thought I was to connect to the ddm-rdb-port. 8471 is now open in the firewall and my application runs fine.