For most installations of Internet Information Server, you keep the Gopher server port number set to the default 70 to allow other Gopher clients access to your site. However, if you want to limit access to your Gopher server, you can change the control connection (port 70) to a port number greater than 1023 to "hide" your site.
You can change Gopher server port numbers by modifying the Systemroot\System32\Drivers\Etc\Services file or by modifying their values in the Registry. The setting in the Services file takes precedence over the Registry setting in all cases. By changing the Services file or the Registry, you affect only the Gopher server.
Note
By changing the port number, you can break some or all of your tags and links. You must rebuild these by using the -p option of the gdsset command to change the port number. For example, if you change the port number to 2345, you rebuild the new tag by typing the following line:
gdsset -c -g0 -f "The Mission of this Gopher Site" Readme1.Txt -p2345
gopher 70/tcp
gopher 2345/tcp # gopher 70/tcp
Note This affects the default ports on the Gopher server.
Your Gopher server now waits at port 2345 for all Gopher client requests.
The following message appears.
The attempt to load 'gopher:127.0.0.1' failed.
The Gopher menu appears on your screen.
\System
\CurrentControlSet
\Control
\ServiceProvider
\ServiceTypes
\GOPHERSVC
The DWORD Editor dialog box appears.
cd %systemroot%\system32\drivers\etc
ren services services.ok
This step prevents the Gopher server from using the port address in the Services file after it has been restarted.
Note This affects the default port only on the Gopher server.
Your Gopher server now monitors port 6789 for all Gopher client requests and your Gopher client connects to a Gopher server at port 6789 only.
The following message appears.
The attempt to load 'gopher:127.0.0.1' failed.
The Gopher menu appears.