Code Monkey home page Code Monkey logo

Comments (8)

Bobnaval avatar Bobnaval commented on August 9, 2024 1

MAN, IT WORK THANK YOU SO MUCH (btw I used Radmin VPN) <3

from nitrox.

Measurity avatar Measurity commented on August 9, 2024

You need to port forward too if you aren't using a VPN (like Hamachi). Did the server console window mention that port forwarding succeeded? If not you need to login to your router to do it manually.

from nitrox.

Bobnaval avatar Bobnaval commented on August 9, 2024

if you are talking about the Nitrox integrated console then no I have no mention of "this port forwarding was successful". The only line with a port report is Server is listening on port 11000

from nitrox.

Measurity avatar Measurity commented on August 9, 2024

Alright. So you have 2 options to connect with friends.

  • Either use Hamachi (or other VPN). It's easier but everyone needs to install and connect to work.
  • Login to your router and add a port forward rule for 11000 UDP. Harder but only you (server owner) need to do this.

Plenty of tutorials on setting up Hamachi online but for port forwarding I will explain a bit:

  1. Open command prompt (windows button + R -> then enter cmd -> OK)
  2. In the CMD enter ipconfig, look for "Default Gateway" and type the 4 part number beside it into your browser (chrome/edge/firefox)
  3. You should see your router's login page, find out the default password for your router (check logo on the login and search for the name in google + "default password"
  4. Login and navigate to port forwarding rule page (search online for your router model to see where to go)
  5. Add the port forward rule, which depends on router model how it looks like. Image below is how I would fill it out based on what's returned by the ipconfig command
  6. Apply the rule and your friends should be able to connect (unless you didn't configure Windows Firewall)

CMD "ipconfig" output on my PC

image

Port forward rule I would need to add to make Nitrox server work online

image

from nitrox.

Bobnaval avatar Bobnaval commented on August 9, 2024

After doing everything, my port 11000 remains closed.
porc
port

from nitrox.

Measurity avatar Measurity commented on August 9, 2024

Port forward rule looks good. You cannot test Nitrox Server with an online port tester. It only responds to connecting Nitrox clients. So you should test by having a friend try and join by giving them your public IP: https://ipv4.icanhazip.com/

If it doesn't work make sure Windows Firewall on either side isn't blocking the connection. Here's the guide to fix it:

Allowing Nitrox and Subnautica through Windows Defender

  1. Control Panel --> System and Security --> Windows Defender Firewall --> Allow an App or Feature through the Firewall:

  2. Click Change Settings then Allow another app...

  3. Click Browse... then search for the Nitrox folder(The folder where Nitrox is located).

  4. Select nitroxlauncher.exe and click Add.

  5. Click Allow another app and Browse.... once again.

  6. Select nitroxserver-subnautica.exe and click Add.

  7. Click Allow another app and Browse.... again, this time, go into the Subnautica folder(The folder where Subnautica has been installed).

  8. Select subnautica.exe and click Add.

Tick nitroxlauncher.exe, nitroxserver-subnautica.exe and subnautica.exe for both private and public.
NOTE: If you have multiple copies of these three exceptions, make sure to tick all of them for both private and public.

  1. Click OK.

from nitrox.

Bobnaval avatar Bobnaval commented on August 9, 2024

I gave permission to subnautica and nitrox in window firewall but my friend still cannot connect.

from nitrox.

Measurity avatar Measurity commented on August 9, 2024

Make sure that the friend(s) are using your public IP by first adding a server entry by clicking "Add server" and entering your public IP you gave them. And your friends need to do the firewall steps too.
image
image

Here's the guide given in the Nitrox discord server when port forwarding just won't work:

  • Use a VPN, Hamachi being the one that Nitrox officially supports. Every player needs to download it. If you choose to use that, then the host must make a network within the program and have every player join it. Then they should join the server using the "Hamachi" IP shown in the hosts server console, or at the top of Hamachi. Every player must also allow Hamachi through their firewall, tutorial for that is here - https://youtu.be/SG0iDutrKgI
  • If neither of the above work, you can try another VPN such as Radmin VPN, which works the same as Hamachi, although the firewall stuff should not be required. The IP for Radmin however, is not shown in the hosts server console, instead at the top of Radmin next to the power button.

If the error persists after trying all of the above, then you can simply try having another player host.

from nitrox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.