Restarting PORT on AS/400

130 pts.
Tags:
AS/400
AS/400 administration
AS/400 Port Numbers
How to restart a port on AS/400? I have an application that runs on port 1000 and all of a sudden, application stopped processing certain requests and eventually found that the port have issues which need to be restarted. How can this be done?

Software/Hardware used:
V6R1
ASKED: July 25, 2013  12:04 PM
UPDATED: July 25, 2013  12:14 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Ports are not started or ended.   An application can use a port. An application can be started and ended. When no application is using a port, the port can be used by any other application that can open the port.   Access to a port can be restricted. Most commonly, access is blocked by a firewall.   Tom
    125,585 pointsBadges:
    report
  • IMisnothing
    nope, in our case, port was restarted and moreover no other application exist except one.. so, curious to know how the port was restarted on as400 server side.
    130 pointsBadges:
    report
  • IMisnothing
    and dont wanna restart the application as it will impact business
    130 pointsBadges:
    report
  • ToddN2000
    Did someone restart the TCP/IP servers? Was there a network failure with an auto recovery ?
    6,360 pointsBadges:
    report
  • Rickmcd
    Try NETSTAT Option 3 CMD 14 to see ports and see if you can see if port is open. If seen Option 8 will show Job
    1,560 pointsBadges:
    report
  • TomLiotta
    nope, in our case, port was restarted...   Since there is no such thing as "restarting a port", you will have to tell us how the problem happened.   If the problem affected one or more remote sites while one or more other remote sites continued to communicate, then you need to look at equipment along the network route, up to and including the remote systems.   Assuming that it was possible to "restart a port", the result would be the same as restarting the application. The two are practically synonymous.The primary difference is that one is possible and meaningful and the other isn't. If a port is 'started', it simply means that an application that listens on that port was started.   As previously mentioned, access to the port may be blocked by some firewall or perhaps by router port redirection. But the port itself never starts or ends except if TCP/IP itself is started or ended. In that case, all functions that use TCP/IP, e.g., telnet, would also be affected.   Some server function that uses TCP/IP, e.g., REXEC or the database server, could have been restarted. The server might provide connections to an internal application of yours. But again, that would affect every remote connection attempt.   Assuming that you aren't using an older AS/400 that has the old Firewall for AS/400 feature built in, there are two "firewall" kinds of features in your AS/400 that you might investigate.   First is the 'Port Restriction' feature. It's possible to restrict the use of a port, or a range of ports, to specific user profiles. However, this would be the user profile associated with your application (or with the TCP/IP or host server). It would thereby affect all remote connections.   There is also the 'Packet Filter Rules' feature. This allows a user who has *IOSYSCFG special authority and either *ALLOBJ special authority or authority to a number of specific objects to set rules that can block packets passing through one or more ports. Packets can be blocked based on IP address for a port. A quick test to see if rules were activated could be to look for a file named /QIBM/UserData/OS400/TCPIP/PacketRules/EXPANDED.OUT and check its change date and time. (If your site uses a different default location for any packet filter rules, then the path to an EXPANDED.OUT file should be changed to that path.)   Since only a couple users should have *IOSYSCFG special authority, you might ask them if they have been working with any packet rules.   Tom
    125,585 pointsBadges:
    report
  • IMisnothing
    @ToddN2000 : no failures as such. it's just the payment gateway had an issue. @Rickmcd : port was open when the issue happened.. however, this has been now fixed and wanna find a rootcause and how it was done. this is it.
    130 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following