This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I change the web admin port using the command line?

Hi all,

I don't know why but I can't connect to my XG firewall because I changed web admin port and I don't remeber it anymore.

Is there a chance to repair to this mistake?

Many thanks

Enrico



This thread was automatically locked due to age.
Parents Reply Children
  • Enrico,
    if you are able to connect to XG using ssh, press 5 then 3 and you are inside command prompt.
    From there, type:
    cat /var/tslog/tomcat.log | grep httpdportvalue

    The last line should report the port used last time you were able to connect to XG.

    Luk
  • Hey

     

    trying to get access to a customers XG 125 V3. and the web console port has been changed. Doesn't look like assess has been done for a while. Still running 17.5.3

     

    There must be somewhere in the CLI to display the port number.

    The log as mentioned has nothing, must not have been accessed in several months.

     

    Regards

    Regards,

    Gavin Daniels. DipIT(Networking)

     

     
  • FormerMember
    +1 FormerMember in reply to GavinDaniels

    Hi  

    You could run the following command from Advanced Shell to find out the Web Admin port: psql -U nobody -d corporate -c "select * from tbllocalservicedetails WHERE localserviceid =2"

    Thanks,