News
Abstract
Turn off QIJSSRVZ server if not being used. This will secure AJS port 8250.
Content
The QIJSSRVZ is the server job that is used for communication between remote systems. Ending this TCP server job will stop remote multi-system job operations such as running jobs on a remote system or using CPYJOBJS on the remote system.
Prevent automatic restart on IPL or Startup:
1. Open IBM Navigator for i in your browser and log in with an administrator profile
2. Navigate to Advanced Job Scheduler > Properties
3. Open the “Systems & Groups” tab
4. Under the properties panel, uncheck the box labeled “Automatically start product TCP/IP server”
5. Click Save
Stop the active server job:
- Navigate to Work Management > Active Subsystems > QSYSWRK > Jobs
- Locate job QIJSSRVZ
- Right-click QIJSSRVZ and select End
STOP and RESTART AJS:
- ENDJS
- STRJS
Option B: Using the 5250 Command Line
End the running AJS TCP listener job
End the QIJSSRVZ server job running in the QSYSWRK subsystem: ENDJOB JOB(QIJSSRVZ) OPTION(*IMMED)
Note: Prevent automatic restart on IPL or Startup – needs to be done in Navigator as shown in Option A.
Add 3 rules in this order, on Server (Destination) side. This will prevent traffic on port 8250 except for the expected communication for AJS.
Note that order matters on these rules. First match wins.
SET = ajs8250
Rule 1: Allows the client side to reach port 8250
PERMIT – before the Deny rule (first match wins)
- Source – allowed to connect in : IP address
- Destination – system the rules are set on: IP address
- Protocol: TCP
- Direction: inbound
- Destination Port: 8250
Rule 2: Blocks every other source on port 8250
DENY – for inbound tcp to port 8250 from any source
- Protocol: TCP
- Direction: inbound
- Source: *
- Destination: *
- Destination Port: 8250
Rule 3 – Catch-all so all other traffic behaves as it does today:
PERMIT - allow other port traffic
- Direction: both
- Protocol: any
- Source: any
- Destination: any
- Port: any
FILTER_INTERFACE – one for this system/line
Was this topic helpful?
Document Information
Modified date:
30 November 2026
UID
ibm17296034