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 |
| . |
| . |
| . |
| |
+--------------------------------------------------------------------------------+

Connect AS400 through firewall(JDBC will require ports: 449, 8470, 8471, and 8476)的更多相关文章

  1. Build an ETL Pipeline With Kafka Connect via JDBC Connectors

    This article is an in-depth tutorial for using Kafka to move data from PostgreSQL to Hadoop HDFS via ...

  2. require、module、exports dojo中的三个特殊模块标识

    查看dojo源码过程中,发现这三个模块名并不以dojo.dijit.dojox开头,在dojo加载器中属于特殊模块名. require 这是一个上下文智能的加载器. 我们通过dojoConfig配置了 ...

  3. 从零开始学习Node.js例子四 多页面实现数学运算 续一(使用connect和express框架)

    1.使用connect框架 .use方法用于绑定中间件到connect服务器,它会配置一系列在接到请求时调用的中间件模块,此例中我们要配置的中间件有favicon logger static rout ...

  4. gulp - connect

    Gulp plugin to run a webserver (with LiveReload) Install npm can help us to install the plugin. PS C ...

  5. ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    引子: 本项目在老电脑上用的是oracle10g,换新电脑装的是oracle11g,但运行项目本没有什么关系,本来说创建个用户,用PLSQL手工导入数据,再改几下配置文件即可跑起来--但实际启动中遇到 ...

  6. 数据库 —— 使用JDBC操作数据库

    [Link] http://www.developer.com/java/data/manipulating-a-database-with-jdbc.html Manipulating a Data ...

  7. MySQL基础和JDBC

    第一章 命令行工具 mysqladmin:MySQL服务器管理工具 mysql:MySQL客服端链接工具 mysqldump 演示链接到服务器host=127.0.0.1,用户名为root,密码为空 ...

  8. mysql数据库无法连接(JDBC)java.net.ConnectException: Connection timed out

    数据库无法连接(JDBC) 用户名密码正确,但是一直报错:Connection timed out 后来知道了原因:我用的是BAE提供的云mysql数据库,对访问的IP有限制 ,所以在本机上无法连接. ...

  9. 1、Java通过JDBC操作Hive

    0.概述 使用的都是CLI或者hive –e的方式仅允许使用HiveQL执行查询.更新等操作.然而Hive也提供客户端的实现,通过HiveServer或者HiveServer2,客户端可以在不启动CL ...

随机推荐

  1. Pots(POJ-3414)【BFS】

    题意:有两个有着固定容量的茶壶,初始时都为空,要求用FILL,POUR,DROP三种操作来准确地得到C值,输出最少次数及操作方案. 思路:比赛的时候真是脑子不好使,根本没想到是搜索,看了别人的题解用搜 ...

  2. javascript获取当前用户访问的宽带IP地址

    javascript获取当前用户访问的宽带IP地址 <script src="http://pv.sohu.com/cityjson?ie=utf-8"></sc ...

  3. python — 装饰器、迭代器

    目录 1 装饰器 2 迭代器 3 可迭代对象 1 装饰器 1.1目的.应用场景: 目的: 在不改变原函数内部代码的基础上,在函数执行前后自定义功能. 应用场景: 想要为函数扩展功能时,可以选择用装饰器 ...

  4. 作业10:String类

    一.基本案例 1.new String("helloworld") 与 "helloworld" public static void main(String[ ...

  5. FFmpeg里面的时间单位

    pts单位:1/90 ms(每个单位代表1/90 ms)  RTP包头有个STAMP 对于视频 STAMP/90 就是 PTS (毫秒) 对于音频 STAMP/samplerate * 1000 才是 ...

  6. C# list to dictionary

    示例: 新建一个类: public class Lang { public string En; public string Ch; } 实例化并转为字典: List<Lang> lang ...

  7. Javascript简单教程汇总

    什么是函数 一段定义好的代码,并可以反复使用的代码块 函数的作用 提升代码的可复用性,将一段代码进行预定义,需要使用的时候才触发 代码块 形成了一个相对独立的作用域 语法: function  函数名 ...

  8. OnePlus5刷 TWRP

    # 安装adb apt install adb # 安装fastboot apt install fastboot # 进入bootloader模式 adb reboot bootloader # 刷 ...

  9. java之JVM学习--简单了解GC算法

    JVM内存组成结构: (1)堆 所有通过new创建的对象都是在堆中分配内存,其大小可以通过-Xmx和-Xms来控制,堆被划分为新生代和旧生代,新生代又被进一步划分为Eden和Survivor区.Sur ...

  10. Android实习结束后的阶段性总结

    2015年4月14日即将实习结束,在过去的五六个月里,对于Android开发还是学到了很多,临走前将以前做的笔记整理一下,自己也再回顾一次.零散是必然的,也可能只是一小段代码片段,但都是曾经我在学An ...