ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How to open a port on the AS400?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to open a port on the AS400?

    How do I open ports on the AS400? I've been asked to open a port because an application wants to connect by FTP using a specific port. Anyone know where I can find the instructions?

  • #2
    Did you check if FTP is running?
    NETSTAT --> 3

    Code:
           Remote    Remote  Local
    Opt  Address   Port       Port
     _           *           *          21​


    If not you can start it via:
    STRTCPSVR SERVER(*FTP)

    You can test it directly on the system by the command:
    FTP RMTSYS(LOCALHOST)

    If this works but you are still not able to access it from outside, you should check your firewalls in your network.

    Good luck
    Andy

    Comment


    • #3
      What do you mean by "open a port on the AS400"? I'll give you the benefit of the doubt and assume you don't REALLY mean AS400 (which was discontinued 24 years ago.) But... nevertheless... what do you mean by "open a port"?

      Do you mean you want to configure the IBM-supplied FTP server to use a particular port aside from the default one?

      Do you mean that you are running Firewall software on IBM i? If so, what software?

      Do you mean you have port restrictions in place and you want to remove them?

      The term "open a port" isn't an actual term used in IT, and doesn't have a well-defined meaning. Usually when an end user (or other non-technical person) says "open a port" they want you to change the firewall and router configuration, whcih isn't normally found on the IBM i.

      Comment

      Working...
      X