Server does not publish external IP

Forum / NoMachine for Windows / Server does not publish external IP

Tagged: 

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #3641
    johng
    Participant

    Using Win 7, when I start NoMachine, it gives a local IP address (192.168.1.8) but does not provide the external IP and Port to be used by a client to connect over the internet.

    #3655
    Britgirl
    Keymaster

    Either your router doesn’t support UPnP or or NAT-PMP, or they are disabled. Have you tried manually configuring forwarding on the router? See these similar posts:

    https://www.nomachine.com/forums/topic/cant-connect-outside-of-local-network#post-2247

    https://www.nomachine.com/forums/topic/both-machines-behind-different-firewalls#post-2905

    #3656
    johng
    Participant

    Thank you Britgirl for your reply.  I don’t have this problem with Linux computers on the network/modem, they provide an nx IP address and Port that can be accessed from other computers outside my network.  So I feel the modem can be ignored as the cause.  The problem therefore must be within the Windows 7 computer setup.  I previously used Hamachi on the Win 7 machine, and when NoMachine started, it produced a 192.168.1.8 address and a Hamachi address, but not an nx address.  I uninstalled Hamachi and all its data, so now I get only the local address (nx://192.168.1.8).  Any ideas?

    #3685
    Britgirl
    Keymaster

    Can you check that your server is configured properly? Follow these steps:

    – Go to the !M icon in the system tray of the computeryou are connecting from.
    – Click “Show server status/Connection status”
    – Select Server preferences/Connection preferences
    – Click on the NX service with the right mouse button (it’s the ‘NX’ under the ‘Name’ label)
    – Click edit service
    – Check the ‘Gateway port’ box

    #3726
    johng
    Participant

    Thank you again.  Checked all those.  The Win 7 PC configuration is the same as a Linux Mint PC setup (on the same home network) which announces an IP and a 2xxxx Port to use over the internet.  TWin 7 PC does give an IP and 2xxxx Port to use over the internet.  Checking on ‘Gateway port’ provides a port, but using that port with my known internet IP does not enable/permit connection from a remote PC.

    #3728
    Britgirl
    Keymaster

    We need to investigate further. Can you contact us via  https://www.nomachine.com/report-issues referencing the topic name?

    We will pass you a binary file of nxupnp to install. After installing it, we will need the output of nxupnp.exe -l and check whether you see the Windows machine IP in the list.

    If you don’t, you can add it manually by executing: nxupnp.exe -A list 4000 -R <OUTSIDE_PORT> TCP 600.

     

    #3747
    johng
    Participant

    I downloaded the binary file, thank you.  Looking in  C:\”Program Files (x86)\NoMachine\bin” there is no nxupnp.exe file.  To make sure, I uninstalled NoMachine, downloaded the latest version and installed.  Again, inspecting  C:\”Program Files (x86)\NoMachine\bin” there was no nxupnp.exe file.  Never the less, I copied the file you provided and copied it to C:\”Program Files (x86)\NoMachine\bin” as nxupnp.exe (Windows did not complain saying there was another file of the same name).  Running nxupnp.exe -l gave no output.  Running nxupnp.exe -v reported Port forwarding protocol: ‘auto’

    Using the known external IP address to :  nxupnp.exe -A list 4000 -R 121.xxx.xxx.xxx TCP 600 

    Failed to add ports

    Local IP:  192.168.1.3

    Gateway IP:  192.168.1.1

    External IP:  0.0.0.0

    #3775
    johng
    Participant

    Is there a reason NoMachine failed to add Ports and give an External IP?  Is there a way to do this manually?

    #3798
    adp
    Participant

    Hello,

    From your post it appears that you’ve ran the command with the wrong syntax. It seems that you’ve ran:

    nxupnp.exe -A list 4000 -R <YOUR_PUBLIC_IP> TCP 600

    instead of:

    nxupnp.exe -A list 4000 -R <OUTSIDE_PORT> TCP 600

    To clarify – the argument after “-R” should be a port that will be opened on your router and made available to access from the outside. So, an example of this command would be:

    nxupnp.exe -A list 4000 -R 4000 TCP 600

    Could you please try to run it with proper syntax and share the results?

    #3810
    johng
    Participant

    Using corrected syntax  nxupnp.exe -A list 4000 -R 4000 TCP 600  I get:

    Added port: 4000

    Local IP:  192.168.1.3

    Gateway IP:  192.168.1.1

    External IP:  121.xxx.xxx.xxx

    If we use this 121.xxx.xxx.xxx IP and 4000 Port combination, connection is made, ie  it works.  Great.

    However, when starting NoMachine by clicking on the Windows Desktop icon, only an internal IP is displayed (192.168.1.3).  No external IP and Port is displayed.  This is the same problem referred to in my first post.

    #3820
    adp
    Participant

    Hello,

    We’re glad that you are able to connect to your system, but ideally we would need to investigate why public IP publishing did not work using our internal library and worked with the binary we supplied. To do so, we would have to prepare a debug version of the library to gather more information in logs. Would you be willing to help and test it for us?

    #3844
    johng
    Participant

    Would you be willing to help and test it for us?

    Yes, thank you

    #3982
    johng
    Participant

    Hi, has my last post fallen through the cracks, or am I impatient?

    I look forward to receiving a debug version of the library to gather more information to help investigate why public IP publishing is not working on a Windows 7 PC.

    #3991
    Britgirl
    Keymaster

    Hi John, no it didn’t 😉 Bear with us a little longer…

    #3992
    akolyth
    Participant

    please do:

     

    C:\Program Files (x86)\NoMachine\bin\nxserver.exe –shutdown

    replace libnxne.dll file, it is placed in C:\Program Files (x86)\NoMachine\bin\

    C:\Program Files (x86)\NoMachine\bin\nxserver.exe –startup

     

    open NoMachine Player, see if external IP was displayed and, without closing Player,

    send us newest directory started with R-* in:

    C:\Users\USER\.nx\

     

    Please be sure that you have latest NoMachine version which is 4.2.25.

     

    We will send you a link via email for the new library.

Viewing 15 posts - 1 through 15 (of 21 total)

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