ServerManual: Difference between revisions

247 bytes removed ,  20 April 2023
no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:


== Server Configuration ==
== Server Configuration ==
The ''server.xml'' file stores the basic [[ServerConfiguration|server configuration]] for your server. This file tells your server what [[Resources|resources]] to load, what port to run on, etc. There are lots of [[ServerConfiguration|configurable options]].
The ''server.xml'' file stores the basic [[ServerConfiguration|server configuration]] for your server. This file tells your server what [[Resources|resources]] to load, what port to run on, etc. There are lots of [[ServerConfiguration|configurable options]]. You can also use a different file for your server config by starting the server with the ''-config'' option


== Port Forwarding ==
== Port Forwarding ==
Servers hosted from PC's at home will most likely need to [[PortForward|port forward]]. This is usually done within the router's configuration. The instructions for port forwarding vary per router so they won't be listed here, but you can find instructions [https://portforward.com/ here]  ... You'll need to open UDP and TCP ports for the server and HTTP connections. The default ports are 22000 for both, but these can be different depending on server configuration.
Servers hosted from PC's at home will most likely need to [[PortForward|port forward]]. This is usually done within the router's configuration. The instructions for port forwarding vary per router so they won't be listed here, but you can find instructions [https://portforward.com/ here]  ... You'll need to open '''both''' UDP and TCP ports for the server and HTTP connections. Some routers have an option to open both in the same forwarding rule. The default ports are 22000 for both, but these can be different depending on server configuration.


== Linux ==
== Linux ==
Line 17: Line 17:


== Windows ==
== Windows ==
The windows server comes in both 32 and 64 bit architectures, so choose the one that corresponds to the host. More information on setting this up can be found on the [[WindowsServer|windows server]] page.
The windows server is made for x64 systems, however an x86 build can be provided on request. More information on setting up the server can be found on the [[WindowsServer|windows server]] page.
 
== Built-in HTTP Server ==
The GTA Connected server provides a built-in HTTP server which used to distribute client-side resource files to clients when they connect to the server (like audio, images, etc ... ''not'' scripts though).
Disabling it is typically for server owners or hosts that want to use another HTTP service like [https://httpd.apache.org/ apache2] or [https://nginx.org/en/ nginx] to distribute the files.
2,591

edits