Connect AS400 through firewall(JDBC will require ports: 449, 8470, 8471, and 8476)

What TCP ports are used by ODBC to connect to the DB2/400?  8471/9471
http://search400.techtarget.com/answer/What-TCP-ports-are-used-by-ODBC-to-connect-to-the-DB2-400

Windows: netstat

AS400:NETSTAT *CNN 
            enter Shift + F2

TCP/IP Ports Required for Access for Windows and Related Functions
http://www-01.ibm.com/support/docview.wss?uid=nas8N1019667

Server ports used
http://www-03.ibm.com/systems/power/software/i/toolbox/faq/ports.html

iSeries Access Through a Firewall
http://www.mcpressonline.com/security/ibm-i-os400-i5os/iseries-access-through-a-firewall.html

http://www.jguru.com/faq/view.jsp?EID=799495


Start Host Server  (STRHOSTSVR)Start Host Server  (STRHOSTSVR)Start Host Server  (STRHOSTSVR)Start Host Server  (STRHOSTSVR)
http://www-01.ibm.com/support/knowledgecenter/#!/ssw_ibm_i_71/cl/strhostsvr.htm

STRHOSTSVR *ALL
*CENTRAL
*DATABASE
*DTAQ
*FILE
*NETPRT
*RMTCMD
*SIGNON
*SVRMAP
WRKACTJOB SBS(QSERVER)


http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzaii%2Frzaiistrhostsvrex.htm

You can use the WRKSRVTBLE command to display the service names and their associated port numbers.

+--------------------------------------------------------------------------------+
|                   Work with Service Table Entries                             |
|                                                            System:   AS400597 |
| Type options, press Enter.                                                    |
|   1=Add   4=Remove   5=Display                                                |
|                                                                               |
| Opt  Service                                  Port  Protocol                  |
|  _   _______________________________  ____________ _________________________  |
|  _   as-central                               8470  tcp                       |
|  _   as-database                              8471  tcp                       |
|  _   as-dtaq                                  8472  tcp                       |
|  _   as-file                                  8473  tcp                       |
|  _   as-netprt                                8474  tcp                       |
|  _   as-rmtcmd                                8475  tcp                       |
|  _   as-signon                                8476  tcp                       |
|  _   as-svrmap                                 449  tcp                       |
|         .                                                                     |
|         .                                                                     |
|         .                                                                     |
|                                                                               |
+--------------------------------------------------------------------------------+

 

 

 

 

 

posted on   白马酒凉  阅读(476)  评论(0编辑  收藏  举报

编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示