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 |
| . |
| . |
| . |
| |
+--------------------------------------------------------------------------------+
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 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 让容器管理更轻松!