Forum / NoMachine for Windows / Problem opening GW port in automatic at Windows boot
- This topic has 8 replies, 3 voices, and was last updated 6 years, 9 months ago by Britgirl.
-
AuthorPosts
-
February 23, 2018 at 14:57 #17635RosssiiiiParticipant
Hello 🙂
I’m having a problem on the 3 PCs I have, using Windows 8 and Win10 x64.
On Debian everything works fine, is installed on the same pc and I don’t have the same problem.
On both I have installed NoMachine, however every time I start the pc I have to go on this screen:
and click on gateway port to open it, Debian is done automatically but with windows no!
Also on Windows I have activated the settings “activate the automatic services at windows startup”:
Now to open the door in question I have to go to port forward on the router.
—–
On Debian if i configure the UDP port on the router i have the same problem, at the os boot NoMachine is unable to open in automatic the GW port.
—-
Today on my Dell using Windows 8 I found the port open when the operating system was started.
On any pc i have installed Debian+ Windows with NoMachine, on Dell for both OS is used the same GW port.
February 23, 2018 at 16:29 #17640BritgirlKeymasterWe are aware of issues when the GUI is not showing the the correct information which is documented here: https://www.nomachine.com/TR12N07384 and these will be fixed in an upcoming maintenance.
Can you tell verify whether this is the problem you are experiencing i.e the port shown in the GUI is not the port that is meant to be mapped?
Or is the problem that the port is opened sometimes, then other times it’s not open? If that’s the case, does it happen on both Windows and Debian? Or just Windows?
February 23, 2018 at 16:32 #17641BritgirlKeymasterIf it’s the second case, we’ll need to see the logs: https://www.nomachine.com/AR07K00677
Follow the instructions in the document for your version linked in the article above. You can submit any attachments here or if they are too big, they should be sent to forum[at]nomachine[dot]com.
February 26, 2018 at 13:11 #17657RosssiiiiParticipantHello 🙂
I think that the issue is the second case: ” the port is opened sometimes, then other times it’s not open? If that’s the case, does it happen on both Windows and Debian? Or just Windows? ”
the first times only happened on Windows (i tested on 8.1 and 10 both x64), while now it also often happens on Debian 9.0 x64.
Often on Debian when it happen i only need to go in preference and click to check the GW door that remains the same at any boot of the pc:
on Windows i need to configure the port forward on router settings in order to open the gw port in question, because otherwise this error comes out:
i have NoMachine 6.0.78 for Linux and also on Windows i use the least version.
For Linux i have to follow this guide:
https://www.nomachine.com/DT10O00163#1.1.
the problem that occurs is about the server side?
February 26, 2018 at 17:11 #17673IrekParticipantHello Rosssiiii,
we would need some more information
1. Router name and model.
2. Check the key
EnableUPnP
inserver.cfg
if it is set to NX, if not set it and restart nxserver.Then please run a terminal and execute the commands:
3. Please enable debug, restart nxserver, reproduce the problem and show us the result of the following commands::On Windows: start cmd.exe as root (Administrator) and
C:\Program Files (x86)\NoMachine\bin\nxserver.exe –upnpmap C:\Program Files (x86)\NoMachine\bin\nxserver.exe –upnpstatus
On Unix:
sudo /etc/NX/nxserver --upnpmap sudo /etc/NX/nxserver --upnpstatus
Please do this on 2 servers where problem occurs and where doents connected to the same router. Instructions about debug and collecting logs you can find there: https://www.nomachine.com/AR07K00677
Please send them to forum[at]nomachine[dot]com making sure to reference the topic.
February 27, 2018 at 12:47 #17682RosssiiiiParticipant3. Please enable debug, restart nxserver, reproduce the problem and show us the result of the following commands:
I don’t understand if I have to execute these commands only if the UPnP wasn’t enabled ?
I also followed the guide to activate the log file, I have left out the activation of the log file concerning web sessions;
Today for example it worked well automatically on Debian and on Windows 8.1…I don’t know why some times it don’t work fine 🙁
Anyway here is the port that i have activated on my router, the gw port is UDP true ?:
https://drive.google.com/file/d/1wBcG3h2fr7GtcM3Oox4CNcKnh8CQECIk/view?usp=sharing
Sorry I did not understand which address I have to send the log files ?
When do I understand that a log file is created ?
On Windows I don’t understand where they are created, here in NoMachine folder there aren’t:
February 27, 2018 at 17:18 #17700IrekParticipantHello Rosssiiii,
I asked to check if UPnP is enabled just to be sure, as you want to use UPnP feature it should be enabled all the time.
1. Enable the logs by following the instructions on the server side using the article https://www.nomachine.com/DT10O00163#1 (alternatively there is https://www.nomachine.com/DT10O00162 which is a less technical version).
2. As you can see here: https://www.nomachine.com/DT10O00163#1.4.
you will find the logs on Windows in
%PROGRAMDATA%/NoMachine/var/log on Windows Vista, 7, 8, 8.1 and 10. Documents and Settings/All Users/NoMachine/var/log on Windows XP.
For example:
C:\ProgramData\NoMachine\var\log
3. Reproduce the problem and show us the result of the following commands::
On Windows: start cmd.exe as root (Administrator) and
C:\Program Files (x86)\NoMachine\bin\nxserver.exe –upnpmap C:\Program Files (x86)\NoMachine\bin\nxserver.exe –upnpstatus
On Unix:
sudo /etc/NX/nxserver --upnpmap sudo /etc/NX/nxserver --upnpstatus
4. Zip them up and send them to forum[at]nomachine[dot]com. Use the ‘@’ and ‘.’ in place of the brackets.
It’s important to reproduce the problem once you’ve enabled everything and then zip the logs.
March 1, 2018 at 13:07 #17720RosssiiiiParticipantHello 🙂
Yes, today the problem occurred again on linux:
so i lunch this two commands on terminal and later i generate the zip file.
https://drive.google.com/file/d/1e3o7p27fXQcepasRuoTb–bZeB0egRew/view?usp=sharing
Now i will send it on email mentioning this discussion.
March 15, 2018 at 15:15 #17889BritgirlKeymasterFrom the logs it seems that the router wasn’t ready and so nxserver skipped portmapping. Please run again
nxserver --upnpstatus
. -
AuthorPosts
Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.