NoMachine does not show external IP address and its port number

Forum / NoMachine for Linux / NoMachine does not show external IP address and its port number

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15678
    abejon
    Participant

    I installed NoMachine for Linux DEB -x86_64, amd64 ver 5.3.10 free on all my computers. I am trying to connect remotely and the problem is:

    1. NoMachine is not showing me the external IP Address and its Port

    2. I used nirsoft.net/show_my_ip_address.php to get the external address and port number for the server. Using this address and port# on the client site will give me time out error or connection refused error

    Please help

    #15704
    kroy
    Contributor

    If your router support UPnP please enable it in the NoMachine server configuration file. To do it set key “EnableUPnP NX” in the /usr/NX/etc/server.cfg and execute command sudo /usr/NX/bin/nxserver --upnpmap (more info you can find there: https://www.nomachine.com/AR11L00827).

    #15727
    abejon
    Participant

    Thanks for the answer but still have same problem, BTW it works great in LAN

    So, I modified server.cfg to

    #
    EnableUPnP NX
    #
    In my modem UPnP is enabled:

    UPnP: Enable

    But still same problem, NoMachine will not display external IP and I’m still getting “Connection refused” Error 111

    #15749
    kroy
    Contributor

    Did you try execute <code>sudo /usr/NX/bin/nxserver --upnpmap command? It should list your external IP and Port in the line: “NX port 4000 mapped to”. If there is no IP please write here your router model so we can investigate the problem. In that case you’d need to configure port forwarding manually to connect there from external network.

    #15756
    abejon
    Participant

    Yes, I did it does show one external IP(see below), When using it one laptop will say connection time out the other connection refused

    > sudo /usr/NX/bin/nxserver –upnpmap
    Local IP                   192.168.0.2
    Gateway IP                 192.168.0.1
    External IP                174.28.213.158

    My modem is century link PK5001A

    Thanks

    #15768
    kroy
    Contributor

    Thanks for the report. If UPnP doesn’t work it remains to configure port forwarding manually. Instructions you can find on article https://www.nomachine.com/AR11L00827. Check section “IMPORTANT”.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic was marked as solved, you can't post.