× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Mon, May 3, 2021 at 3:39 AM Laurence Chiu <lchiu7@xxxxxxxxx> wrote:

I don't think telnet on that port
would prove anything.


If what you are trying to *prove is that the firewall is set up correctly*
so that you can reach those ports, but you do not have anything running on
those ports to acknowledge the connection, then do this:

Here is a Python 3 program to run on the IBM i in PASE that will open a
little web server on a given port. It will only return a 501 error message
(and print info to the console it is started on) when connected, but that
is enough for your purposes.

In the file, substitute your out-facing IP address (here I use
'123.456.789.000') and the port you want (here I use 1414 here from your
posting) for the ones provided:






*from http.server import HTTPServer, BaseHTTPRequestHandlerdef
run(server_class=HTTPServer, handler_class=BaseHTTPRequestHandler):
server_address = ('123.456.789.000', 1414) httpd =
server_class(server_address, handler_class) httpd.serve_forever()run()*

Now try to connect through the firewall and see if it works.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.