irek

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 63 total)
  • Author
    Posts
  • in reply to: No external IP address shown in server on Windows 10 #17448
    irek
    Participant

    Hello otlichnik73,

    from the logs we can see that debug level wasn’t enabled – or at least it wasn’t enabled on the machine from which you sent logs.

    On the affected machine which you are connecting -to- please follow the instructions as above, making sure

    Change from:

    #SessionLogLevel 6

    To:

    SessionLogLevel 7

    and restarting the server.

    Could you please give us the info for points 4, 5 and 6 as well? Thanks.

    in reply to: Web-based connection and Chromebook security policy #17443
    irek
    Participant

    Hello r91085,

    yes, it is possible to use HTTP, all you have to do is to disable redirection on NoMachine server side.

    To do that, please edit:

    InstallationDirectory/etc/htd.cfg

    and remove or comment out following lines:

    
    <VirtualHost _default_:*>
    RewriteEngine on
    
            ReWriteCond %{SERVER_PORT} !^4443$
            RewriteRule ^/(.*) https://%{SERVER_ADDR}:4443/nxwebplayer [R,L]
    </VirtualHost>
    

    and then restart nxhtd server:

    InstallationDirectory/bin/nxserver --restart nxhtd

    After that, you can access NoMachine Web Player by typing

    http://<IP address>:4080

    in reply to: No external IP address shown in server on Windows 10 #17415
    irek
    Participant

    Hello otlichnik73,

    Server logs weren’t enabled, so please do:

    1. Open cmd as an administrator.

    1.4. Server on Windows
    Step 1 – Set debug level in server.cfg
    Copy the InstallationDirectory/NoMachine/etc/server.cfg file in a temporary folder and open the file with an editor like WordPad. This is necessary for being able to edit the file.

    Edit the copy of the server.cfg file, uncomment and set the following:

    Change from:

    #SessionLogLevel 6

    To:

    SessionLogLevel 7

    Copy the modified server.cfg file to InstallationDirectory/NoMachine/etc/server.cfg. Administrative privileges are required.

    2. Restart nxserver, open cmd as an administrator, and execute:

    "C:\Program Files (x86)\NoMachine\bin\nxserver.exe" --restart

    3. Wait few minutes, and reproduce the problem, open cmd as an administrator, and execute:

    "C:\Program Files (x86)\NoMachine\bin\nxserver.exe" --upnpmap
    "C:\Program Files (x86)\NoMachine\bin\nxserver.exe" --upnpstatus

    Please do this on 2 servers connected to the same router. One must
    be the Windows server where port mapping is not working, and second any
    of the servers where port mapping is working.

    Instructions about debug and collecting logs you can find there: https://www.nomachine.com/DT10O00163.

    Please send them to forum[at]nomachine[dot]com making sure to reference the topic.

    4. The Router name and model to which the problematic Windows machine
    is connected.

    5. You mention you checked whether UPnP is enabled, you mean you checked it on the router which is attached to the problematic Windows machine?

    6. Are there any other machines connected to that same router and which don’t have problems with port mapping?

    in reply to: No external IP address shown in server on Windows 10 #17252
    irek
    Participant

    Hello otlichnik73,

    we would need some more information:

    1. The Router name and model to which the problematic Windows machine
    is connected.

    2. You mention you checked whether UPnP is enabled, you mean you checked it on the router which is attached to the problematic Windows machine?

    3. Are there any other machines connected to that same router and which don’t have problems with port mapping?

    4. Please enable debug, restart nxserver, reproduce the problem and cmd.exe as root (Administrator) and show us the result of the following commands:


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

    Please do this on 2 servers connected to the same router. One must
    be the Windows server where port mapping is not working, and second any
    of the servers where port mapping is working.

    Instructions about debug and collecting logs you can find there: https://www.nomachine.com/DT10O00163.

    Please send them to forum[at]nomachine[dot]com making sure to reference the topic.

    • This reply was modified 6 years, 2 months ago by irek.
    in reply to: Public IP address not displayed #16981
    irek
    Participant

    Hello xprinceps,

    in that case, when the router doesn’t support UPnP or NAT-PMP protocol, you will have to enable port forwarding by hand on your router.

    From  “NAT/Gaming”  section, under “Manage Custom Service”  press button “Custom Services”

    1. Service Name – you can call it whatever you like

    ‘NoMachine’

    2. Global Port Range –  set whatever port you would like, this port will be used when connecting to NoMachine Server.

    24000 – 24000

    3. Base Host Port – by default 4000 (which is default port of NX )

    4000

    4. Protocol (drop-down menu with TCP and UDP as the only options)” – TCP

    TCP

    Then, when you add “Custom Services”, return to “NAT/Gaming”
    And set

    1. Service – service name just created

    ‘NoMachine’

    2. Needed by device – select IP of local machine where NoMachine server is installed

    Hope, this link can be usefull

    • This reply was modified 6 years, 3 months ago by irek.
    • This reply was modified 6 years, 3 months ago by irek.
    in reply to: Public IP address not displayed #16923
    irek
    Participant

    Hello xprinceps,

    according to https://www.nomachine.com/AR11L00827:

    “When the NoMachine (server) computer is behind a NAT router or a firewall, NoMachine tries to use the UPnP or NAT-PMP protocol (depending on what is supported by the router) to:

    – Retrieve the public or external IP of the host machine where it’s installed.

    – Configure the router to allow a NoMachine client to connect from outside of the private network.”
    First I would suggest to check if:

    – your router has enabled UPnP or NAT-PMP protocol, if not try to enable it and then restart the router.

    – Please check that UPnP is enabled on nxserver.

    Check the key ‘EnableUPnP’ in server.cfg if it is set to NX, if not set it and restart nxserver.
    Then please run a terminal and execute the commands:

    sudo /etc/NX/nxserver --upnpmap
    sudo /etc/NX/nxserver --upnpstatus

    If the router doesn’t support UPnP or NAT-PMP protocol or you still don’t see the ports you will have to configure port forwarding by using the router admin interface. This is normally a Web application running at http://192.168.1.1. Follow these instructions for your router:

    1. Reserve local IP of your computer on router according to your router’s instructions.
    2. Open a unique port for that local IP in Port Forwarding section on the router.
    3. Check public IP of the router.
    4. Now in your Player connection settings – enter the public IP of your router and unique port. Now you should connect to your machine.

    Please see ‘IMPORTANT’ section from https://www.nomachine.com/AR11L00827 .

    Could you also provide to us router name and model, you can usually find it on a sticker on the bottom or back of the router?

    • This reply was modified 6 years, 4 months ago by irek.
    in reply to: No public IP displayed #16836
    irek
    Participant

    Hello otlichnik,

    we would need some more information

    1. Version of NoMachine Free

    2. Router name and model.

    3. Please enable debug, restart nxserver, reproduce the problem and cmd.exe as root (Administrator) and show us the result of the following commands:


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

    Instructions about debug and collecting logs you can find there: https://www.nomachine.com/DT10O00163.

    Please send them to forum[at]nomachine[dot]com making sure to reference the topic.

    in reply to: Cloud Server: Add node, option: is not valid #15321
    irek
    Participant

    Hello devon,

    We will need debug NoMachine Cloud server logs to investigate further. Please follow the instructions here:

    https://www.nomachine.com/DT07M00098#1

    especially point

    1.1


    Edit the /usr/NX/etc/server.cfg  file. Uncomment and set the following:

    SessionLogLevel 7

    and  1.3:


    1.3. If you have a Cloud Server installed and the problem affects sessions by the web:
    Edit the /usr/NX/etc/cloud.cfg  file. Uncomment and set the following:

    SessionLogLevel 7

    Send them to forum[at]nomachine[dot]com

    in reply to: Connection drops due to random port changes? #15261
    irek
    Participant

    Hello ag,

    We will need debug NoMachine server logs to investigate further. Please follow the instructions here: https://www.nomachine.com/DT07M00098#1

    Send them to forum[at]nomachine[dot]com

    And then please set the ‘NXUPnPPort’ configuration key in the ‘server.cfg’ file,

    this should stop Nomachine Server from choose external port randomly.

     

    • This reply was modified 6 years, 9 months ago by irek.
    • This reply was modified 6 years, 9 months ago by Britgirl.
    in reply to: Error 107-connection refused #14934
    irek
    Participant

    Hello stratzvyda,

    We will need debug NoMachine server logs and nxplayer to investigate further. Please follow the instructions here:

    https://www.nomachine.com/DT07M00098#1

    And then please do those steps:

    – Please restart nxserver, and repeat all steps to reproduce issue, like to get

    port mapping and try to connect to server.

    – Check port mapping by hand, executing this command in console:

    # /etc/NX/nxserver –upnpstatus

     

    Send them to forum[at]nomachine[dot]com

    ” The same external IP/port address combination is listed eight times on the host computer”

    Could you please tell us, where you can see it, and if this is in nxplayer please do a screenshot and send to us.

    irek
    Participant

    Hello JL,

    when using Web Player and redirection administrator have to add certificate as written in the article:

    https://www.nomachine.com/AR05O00928

     

    in reply to: Gateway port – unchecked after restart #13000
    irek
    Participant

    Hello Michal,

    The logs show that when nxserver started, it hadn’t yet received port info from the router.
    So when the nxclient monitor starts, it queries the port. If it’s available, the box will be checked. If it’s unavailable, it wont be checked.

    Check the port mapping by hand by doing:


    # /etc/NX/nxserver –upnpstatus

    We’re aware of this issue and soon fix should be prepared.

    in reply to: Gateway port – unchecked after restart #12888
    irek
    Participant

    Hello Michal,

    We will need debug NoMachine server logs to investigate further. Please follow the instructions here:

    https://www.nomachine.com/DT07M00098#1

    And then please do those steps:

    – Please check that UPnP is enabled on nxserver.

    Check the key ‘EnableUPnP’ in server.cfg if it is set to NX, if not set it.

    – Then restart machine, wait untill NoMachine server starts and then run this command in console:


    # /etc/NX/nxserver –upnpstatus

    – Repeat this after about 10+ min, and see if port mapping is shows up. If still no port is shows up, please call


    # /etc/NX/nxserver –upnpmap

    Send them to forum[at]nomachine[dot]com

    irek
    Participant

    Hello James,

    Please read the article ‘How to connect to NoMachine when the server is behind a NAT router or a firewall’ (here: https://www.nomachine.com/AR11L00827), it should help you.

    Please let us know if you need further assistance.

    Kind regards,

    in reply to: How long does a UPnP port take to open? #11644
    irek
    Participant

    I miswrote the time need, it should have been about 9 minutes.

    As for being able to change the time used to refresh port mapping, unfortunately it’s not possible.

Viewing 15 posts - 31 through 45 (of 63 total)