Skip to content

Commit

Permalink
Change default for Host
Browse files Browse the repository at this point in the history
Corrects Host defaults for new installs.

99% of the time, Host should be 0.0.0.0
  • Loading branch information
LtRipley36706 authored Dec 16, 2024
1 parent 4df286d commit aa8a6d2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Source/ACE.Common/NetworkSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,20 @@ namespace ACE.Common
{
public class NetworkSettings
{
public string Host { get; set; } = "127.0.0.1";
/// <summary>
/// IP Address for World to listen on.
/// </summary>
/// <remarks>
/// In just about all cases, you will not need to change this setting from the default. Special networking conditions, or multiple network adapters would possibly be examples of times where you might need to change this.
/// </remarks>
public string Host { get; set; } = "0.0.0.0";

/// <summary>
/// Port for World to listen on. This also opens the next port up, 9001, for server to client communications. When changed, it will open the port specified and +1 of that port.
/// </summary>
/// <remarks>
/// For firewalls, you would need to include opening both udp ports (9000 and 9001) for communications to work correctly.
/// </remarks>
public uint Port { get; set; } = 9000;

/// <summary>
Expand Down

0 comments on commit aa8a6d2

Please sign in to comment.