Skip to content
pgodwin edited this page Jul 23, 2017 · 3 revisions

Welcome to the GopherServer wiki!

Running a Server

To run GopherServer you first need to work out what you want it to host and configure it accordingly. In this example we'll host a local Macintosh Garden proxy so that your older Macintosh's can browse the garden and download files directly.

Configure Gopher Server

  1. First, download the latest release and it extract it somewhere on your machine.

  2. Open GopherServer.exe.config - this is the main configuration file for the GopherServer. The file is reasonably well commented but let's go through some options:

    • boundIP - this is the IP address/interface that the server will listen for connections on. This is usually the IP Address of your machine.

    • boundPort - this is the port to listen on. Usually this is port 70, but it can be anything not in use

    • publicHostname - this is the hostname to include on the Gopher directory listings. This could be a DynDNS address for example, or the friendly hostname of the server. It can also be the same as boundIP, particularly on a local network.

    • publicPort - like publicHostname, this the port to include on the Gopher directory listings. Usually this will be 70.

    • resampleImages - this option along with maximumBitDepth enables resampling the bits per pixel for images. For example, if your target machine is a black & white Mac, you might set this to true, and set maximumBitDepth to 1.

    • maximumBitDepth - maximum bit-depth for re-sampled images. Only applies when resampleImages is set to true. Valid options are:

      • 1 (1-bit black&white)
      • 4 (4-bit 16 colours)
      • 8 (8-bit 256 colours).
    • providerName - the name of the server to provide to use. This is the main configuration option as it determines the type of server we're going to run. See the read me for the various options. Only a single provider can be used at once.

      In this example, we want the Macintosh Garden provider, so it should be set to GopherServer.Providers.MacintoshGarden.

  3. Once you've configured your server, run GopherServer.exe. This should start up a server listening on your configured IP and Port

  4. Open your favourite Gopher client and open your IP and Port (eg gopher://myip:70/). If all goes well you should see the "Search Garden" home page.

Clone this wiki locally