listen on DNS port 5998 not 6000. 6000 seemed
to cause issues on a particular install for some reason.
This commit is contained in:
@ -139,7 +139,7 @@ bool HttpServer::getDoc ( char *url ,
|
||||
if (!m_ssltcp.m_ready) {
|
||||
// TODO: set an error here
|
||||
log("https: Trying to get HTTPS site when SSL "
|
||||
"TcpServer not ready.");
|
||||
"TcpServer not ready: %s",url);
|
||||
g_errno = ESSLNOTREADY;
|
||||
return true;
|
||||
}
|
||||
|
32
hosts.conf
32
hosts.conf
@ -32,8 +32,10 @@ index-splits: 1
|
||||
|
||||
|
||||
# By default just use the local host as the single host.
|
||||
# The client DNS uses port 6000, https listens on 7000, http listens on port
|
||||
# 8000 and the udp server listens on port 9000.
|
||||
# The client DNS uses port 5998, https listens on 7000, http listens on port
|
||||
# 8000 and the udp server listens on port 9000. We used to use port 6000 for
|
||||
# DNS listening but it seemed to have some issues. If your DNS keeps timing
|
||||
# out try a different port from 5998.
|
||||
#
|
||||
# Use './gb N' to run the gb process as host #N where N is 0 to run as
|
||||
# the first host in the list below.
|
||||
@ -45,7 +47,7 @@ index-splits: 1
|
||||
# Use './gb kstart N' to run the Nth host in a bash keep-alive loop. So if it
|
||||
# cores it will restart. It will send out an email alert if it restarts.
|
||||
#
|
||||
0 6000 7000 8000 9000 127.0.0.1
|
||||
0 5998 7000 8000 9000 127.0.0.1
|
||||
|
||||
|
||||
|
||||
@ -54,10 +56,10 @@ index-splits: 1
|
||||
#
|
||||
# Use './gb 2' to run as the host on IP 1.2.3.8 for example.
|
||||
#
|
||||
#0 6000 7000 8000 9000 1.2.3.4 1.2.3.5
|
||||
#1 6000 7000 8000 9000 1.2.3.6 1.2.3.7
|
||||
#2 6000 7000 8000 9000 1.2.3.8 1.2.3.9
|
||||
#3 6000 7000 8000 9000 1.2.3.10 1.2.3.11
|
||||
#0 5998 7000 8000 9000 1.2.3.4 1.2.3.5
|
||||
#1 5998 7000 8000 9000 1.2.3.6 1.2.3.7
|
||||
#2 5998 7000 8000 9000 1.2.3.8 1.2.3.9
|
||||
#3 5998 7000 8000 9000 1.2.3.10 1.2.3.11
|
||||
|
||||
|
||||
|
||||
@ -66,14 +68,14 @@ index-splits: 1
|
||||
# Each line represents a single gb process with dual ethernet ports
|
||||
# whose IP addresses are in /etc/hosts under se0, se0b, se1, se1b, ...
|
||||
#
|
||||
#0 6000 7000 8000 9000 se0 se0b
|
||||
#1 6000 7000 8000 9000 se1 se1b
|
||||
#2 6000 7000 8000 9000 se2 se2b
|
||||
#3 6000 7000 8000 9000 se3 se3b
|
||||
#4 6000 7000 8000 9000 se4 se4b
|
||||
#5 6000 7000 8000 9000 se5 se5b
|
||||
#6 6000 7000 8000 9000 se6 se6b
|
||||
#7 6000 7000 8000 9000 se7 se7b
|
||||
#0 5998 7000 8000 9000 se0 se0b
|
||||
#1 5998 7000 8000 9000 se1 se1b
|
||||
#2 5998 7000 8000 9000 se2 se2b
|
||||
#3 5998 7000 8000 9000 se3 se3b
|
||||
#4 5998 7000 8000 9000 se4 se4b
|
||||
#5 5998 7000 8000 9000 se5 se5b
|
||||
#6 5998 7000 8000 9000 se6 se6b
|
||||
#7 5998 7000 8000 9000 se7 se7b
|
||||
|
||||
|
||||
# Proxies
|
||||
|
Reference in New Issue
Block a user