Forum / NoMachine for Windows / Server does not publish external IP
- This topic has 20 replies, 5 voices, and was last updated 8 years, 10 months ago by Britgirl.
May 16, 2014 at 18:08 #3641
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.May 16, 2014 at 21:26 #3655
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/both-machines-behind-different-firewalls#post-2905May 19, 2014 at 08:39 #3656
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?May 20, 2014 at 09:19 #3685
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’ boxMay 23, 2014 at 13:57 #3726
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.May 23, 2014 at 15:10 #3728
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.May 28, 2014 at 08:45 #3747
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.0June 3, 2014 at 11:22 #3775
Is there a reason NoMachine failed to add Ports and give an External IP? Is there a way to do this manually?June 4, 2014 at 09:13 #3798adpParticipant
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
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?June 5, 2014 at 11:06 #3810
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.June 6, 2014 at 08:48 #3820adpParticipant
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?June 10, 2014 at 10:07 #3844
Would you be willing to help and test it for us?
Yes, thank youJune 20, 2014 at 15:13 #3982
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.June 23, 2014 at 10:13 #3991
Hi John, no it didn’t 😉 Bear with us a little longer…June 23, 2014 at 13:10 #3992akolythParticipant
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:
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.
This topic was marked as solved, you can't post.