Error:  TermProxy connection refused on AS400

Version 3

    Environment

    Termproxy 3.1 on AS400

     

    Problem

    Error: Termproxy connection refused on AS400 host.

     

    Resolution

    The error:" Connection refused on AS400 host", could be caused by the block comment from the Termproxy configuration.


    By default the original configuration file has block comment  /* and */


    The issue is resolved by removing the block comments /* and */, and saving the configuration.

     

    The following configuration is from a default AS/400 TermProxy configuration with the block comments.

     

    log level INFO

     

    httpserver 0.0.0.0:4428

    ssl off

     

    /*

    //hostservice host1 uses this proxyservice

    proxyservice proxy1

    listen 0.0.0.0:4430

    server host1

    ssl off

     

    //This sample AS400 hostservice is commented out.

     

    //The reconnect string will perform an F3 on the AS400 upon reconnect.

     

    //stationid-template setup allows Workstation ID to be detected

    hostservice host1

    connect 192.168.1.1:23

    timeout 15 m

    reconnect-string

    %00%0D%12%A0%00%00%04%00%00%03%01%01%33%FF%EF

    codeset EBCDIC

    stationid-template “Display [ .]+:\s+(.+?)[ ]

    */