Start a conversation

GFI FaxMaker IP is showing as 127.0.0.1 when using Web Services API

Answer

PROBLEM

When using Web Services API, the web services server attempts to connect to 127.0.0.1 instead of the IP address of the GFI FaxMaker server.

ENVIRONMENT

  • GFI FaxMaker
  • All supported environments

SOLUTION

  1. Browse to the ..\GFI\FaxMaker\ directory
  2. Locate the file named "ML.Svc.Attendant.exe.config"
  3. Edit this file with a text editor. Locate the below XML tag and replace 127.0.0.1 with the IP or hostname to be used

<service name="GFI.FM.ML.WSAPI.FMSendReceive" behaviorConfiguration="FMWebAPIServiceBehavior_HTTP">
        <endpoint address="" name="FAXmakerWebAPI" binding="basicHttpBinding" bindingConfiguration="WSAPI_HttpBinding" contract="GFI.FM.ML.WSAPI.FMDataContract.IFMSendReceive" />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
            <add baseAddress="http://127.0.0.1:8555/faxmaker/wsapi"/>
          </baseAddresses>
        </host>
  </service>

CAUSE

The WSAPI base address is configured as 127.0.0.1 by default

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments