as400 and jdbc port information

I'm trying to connect to an as400 via jdbc, I have no problems connecting via odbc and have been doing that for six months, but the odbc queries and execution is taking a long time so I am looking into if jdbc can offer some savings in time.

Does anyone know how to find the port to connect to from a remote computer?
Who is Participating?

Not knowing what JDBC you're using, I'll suggest the "standard" drda port -- 446. That's where JDBC from the iSeries Java Toolbox (JTOpen in open source) should connect.

But, AFAIK, there's no need to specify the port in that case. The driver already knows.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.