HostingAndJoining: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Hosting And Joining}} == Hosting with Paid Service == e.g. Hosting on a VPS. Ports will probably not need to be opened in your hosting package.<br> To join th...")
 
No edit summary
Line 2: Line 2:
== Hosting with Paid Service ==
== Hosting with Paid Service ==


e.g. Hosting on a VPS.
=== Hosting on a VPS ===
 
Ports will probably not need to be opened in your hosting package.<br>
Ports will probably not need to be opened in your hosting package.<br>
To join the game, either use the IP address assigned to your hosting package, or click on the server in the server list before launching (if serverbrowser is true in server.xml).
To join the game, either use the IP address assigned to your hosting package, or click on the server in the server list before launching (if <nowiki><serverbrowser></nowiki> is true in {{ServerConfiguration|server config}}).
<br><br>


== Hosting from Home ==
== Hosting from Home ==


GTA:Connected currently doesn't support IPv6, so first of all make sure that your ISP assigns you an IPv4 address. (Search Google for: What is my IP v4 address?)<br>
GTA Connected currently doesn't support IPv6, so first of all make sure that your ISP assigns you an IPv4 address. (Search Google for: What is my IP v4 address?)<br>
Note that if your network is only assigned an IPv6 address, you may still be able to host a server using a reverse proxy.
Note that if your network is only assigned an IPv6 address, you may still be able to host a server using a reverse proxy.


Line 15: Line 15:


To join the game from server computer, use 127.0.0.1 or localhost.<br>
To join the game from server computer, use 127.0.0.1 or localhost.<br>
The server will likely not be shown in the server list.<br>
* The server will likely not be shown in the server list.<br>
Router ports do not need to be open.<br>
* Router ports do not need to be open.<br>
Antivirus exclusions probably do not need to be added.
* Antivirus exclusions probably do not need to be added.


=== 1+ Players on same network as Server ===
=== 1+ Players on same network as Server ===


To join the game on same network, use the IP address assigned to the server's computer. See the [[#Find IP address assigned to Computer]] section below.<br>
To join the game on same network, use the IP address assigned to the server's computer. See the [[#Find IP address assigned to Computer]] section below.<br>
The server will likely not be shown in the server list.<br>
* The server will likely not be shown in the server list.<br>
Router ports probably do not need to be open.<br>
* Router ports probably do not need to be open.<br>
Antivirus exclusions may need to be added.
* Antivirus exclusions may need to be added.


=== 1+ Players on different network than Server ===
=== 1+ Players on different network than Server ===
Line 31: Line 31:
Router ports do need to be open.<br>
Router ports do need to be open.<br>
Antivirus exclusions may need to be added.
Antivirus exclusions may need to be added.
<br><br>


== Joining a Server not in the Server List ==
== Joining a Server not in the Server List ==


Open the GTA:Connected launcher.<br>
Open the GTA Connected launcher.<br>
Unselect any selected server (if applicable).<br>
* Unselect any selected server (if applicable).<br>
Click Launch.<br>
* Click Launch.<br>
Wait for game to fully load.<br>
* Wait for game to fully load.<br>
Type /connect IPHERE<br>
* Type /connect IPHERE ''(Replace IPHERE with an actual IP address when typing it)''<br>
Replace IPHERE with an actual IP address when typing it.
<br>


== Find IP address ==
== Find IP address ==
=== Find IP address assigned to Computer ===
=== Find IP address assigned to Computer ===


This IP is sometimes referred to as an internal IP.
''This IP is sometimes referred to as an internal, DHCP, or LAN IP''


On the computer which you want to know the internal IP address for:
On the computer which you want to know the internal IP address for:<br>
* Open command prompt. (Windows key, type cmd, enter key).<br>
* Type: ipconfig /all (Then press enter).<br>
* Look for: IPv4 Address<br>
* It may look similar to: 192.168.1.3 or 10.0.0.3


Open command prompt. (Windows key, type cmd, enter key).<br>
<br>
Type: ipconfig /all (Then press enter).<br>
Look for: IPv4 Address<br>
It may look similar to: 192.168.1.3 or 10.0.0.3


=== Find IP address assigned to Network ===
=== Find IP address assigned to Network ===


This IP is sometimes referred to as an external IP.
''This IP is sometimes referred to as an external, WAN, or public IP.''
 
On the computer which you want to know the external IP address for:


Open Google in your web browser.<br>
On the computer which you want to know the external IP address for:<br>
Search for: What is my IP address?<br>
* Open Google in your web browser.<br>
Google should tell you the network's IP address.
* Search for: What is my IP address?<br>
* Google should tell you the network's IP address.
<br><br>


== Ports & Exclusions ==
== Ports & Exclusions ==

Revision as of 21:28, 4 November 2021

Hosting with Paid Service

Hosting on a VPS

Ports will probably not need to be opened in your hosting package.
To join the game, either use the IP address assigned to your hosting package, or click on the server in the server list before launching (if <serverbrowser> is true in Template:ServerConfiguration).

Hosting from Home

GTA Connected currently doesn't support IPv6, so first of all make sure that your ISP assigns you an IPv4 address. (Search Google for: What is my IP v4 address?)
Note that if your network is only assigned an IPv6 address, you may still be able to host a server using a reverse proxy.

Player computer is Server computer

To join the game from server computer, use 127.0.0.1 or localhost.

  • The server will likely not be shown in the server list.
  • Router ports do not need to be open.
  • Antivirus exclusions probably do not need to be added.

1+ Players on same network as Server

To join the game on same network, use the IP address assigned to the server's computer. See the #Find IP address assigned to Computer section below.

  • The server will likely not be shown in the server list.
  • Router ports probably do not need to be open.
  • Antivirus exclusions may need to be added.

1+ Players on different network than Server

To join the game on different network, either use the IP address assigned to the server's network. See the #Find IP address assigned to Network section below, or click on the server in the server list before launching (if serverbrowser is true in server.xml).
Router ports do need to be open.
Antivirus exclusions may need to be added.

Joining a Server not in the Server List

Open the GTA Connected launcher.

  • Unselect any selected server (if applicable).
  • Click Launch.
  • Wait for game to fully load.
  • Type /connect IPHERE (Replace IPHERE with an actual IP address when typing it)


Find IP address

Find IP address assigned to Computer

This IP is sometimes referred to as an internal, DHCP, or LAN IP

On the computer which you want to know the internal IP address for:

  • Open command prompt. (Windows key, type cmd, enter key).
  • Type: ipconfig /all (Then press enter).
  • Look for: IPv4 Address
  • It may look similar to: 192.168.1.3 or 10.0.0.3


Find IP address assigned to Network

This IP is sometimes referred to as an external, WAN, or public IP.

On the computer which you want to know the external IP address for:

  • Open Google in your web browser.
  • Search for: What is my IP address?
  • Google should tell you the network's IP address.



Ports & Exclusions

Open Router Ports

See here: PortForward