You have been taken by the Mists

Author Topic: Direct Connect  (Read 1739 times)

Serivis

  • New to the Mists
  • *
  • Posts: 1
Direct Connect
« on: January 12, 2014, 06:20:21 PM »
Hi guys,

I am just after some help. Some friends and I are attempting to host a server just for our close group of friends, how ever we cannot seem to direct connect to the server.
Just wondering if someone could help us out with what needs to be done for direct connect to be enabled?

Thank you very, very much in advance,

S.

DM Nocturne

  • Sanguis Noctis
  • Dark Power
  • ******
  • Posts: 3262
  • Vampires don't do dishes
Re: Direct Connect
« Reply #1 on: January 12, 2014, 08:44:45 PM »
Quote from: http://www.neverwinternights.info/dedicatedserver.htm
Hosting Games on the Internet

To host a game on the Internet, you will need to allow clients to initiate connections on the port the server is using (5121 by default). You may need to configure your firewall and/or router to allow this. How you do this will depend on your particular network hardware and software although it likely involved Port Forwarding.

The IP address displayed in the server interface may be an internal network address that is different from the external address that others connect to your server as. This should not be a concern unless others are unable to connect to your server.

Further reading, particular related to ports for a server behind a router or firewall, quoted from the default NWN\docs\readme.txt file:

Quote
Firewall Information
--------------------

If you are trying to connect to a Neverwinter Nights server through a firewall, NAT, or router, here is some information for you to help you get connected. First, please read the manual that came with your firewall or router.

Neverwinter Nights uses UDP, not TCP for its connections.

If you think that your firewall is preventing you from connecting to the game servers, please make sure that the following ports are open:

Ports 5120 through 5300

If you are wanting to make sure that your NAT is set up to allow the game to play here are some details:

Outgoing packets:
Source port: 5120-5129
Destination port: 5121-5300

Incoming packets:
Source port: 5121-5300
Destination port: 5120-5129

On the Game Client side, you can select what port your client uses. Go to your nwnplayer.ini file in your NWN Client Beta install directory. Find the following section:

[Profile]
Client Port=5120

Change this number if you need to force Neverwinter Nights to connect as a client on a different port.

Port Forwarding:

When the server is behind a firewall, a server administrator will likely need to forward data to the computer running the server software. This is done via a process called port forwarding. Data coming into the firewall is often blocked and simply dropped. If the firewall is set up with port forwarding for the server, it takes any information headed to port 5121 (the default NWN server port) and forwards it to the correct computer behind the firewall.

Each firewall is slightly different. You will likely need to do a search for "port forwarding" and the brand/edition of your firewall. You can also set up port forwarding for NWN to other ports, depending on what you have setup in the various Neverwinter Nights .ini files.


Squeak

  • Undead Slayer
  • ***
  • Posts: 104
Re: Direct Connect
« Reply #2 on: January 12, 2014, 11:31:52 PM »
In the case your friends are trying to connect to your server over the internet rather then on a local network at your house. . . use the following link to get your public facing IP address, unless you've got an ISP that is assigning you a private IP address.

http://www.whatismyip.com/

Other then that what Nocturne quoted should cover just about everything needed to know.