Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. RESTful API and local IP address

    RESTful API and local IP address

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution
    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

     

    Description

    When RESTful API returns an error message "Client must be on local IP address", consult two following knowledge articles:

    • RESTful API Requests are accepted only from localhost
    • RESTful API: Client must be on local IP address
    • They are relevant when RESTful API calls can be made from localhost and no additional configuration is needed.
    • However, in case the RESTful API call cannot be made from localhost and they originate from a specific IP address, additional configuration is needed in $alephe_root/www_server.conf.

    Resolution

    The variable "local_ip_address" must be defined in $alephe_root/www_server.conf (containing the local IP address to which the WWW server is listening). This IP address is checked by the DLF service against the IP address sent by RESTful API call.

    The denied IP address can be seen in $LOGDIR/www_server_499x.log as:

    Requests are accepted only from local IP Your client IP:001.002.003.004

    Add to www_server.conf:

    setenv local_ip_address "1.2.3.4"

    and restart WWW server using util W-3-1.

     


    • Article last edited: 07-Jun-2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • RESTful API - PUT request (hold request)
      • RESTful API Requests are accepted only from localhost
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. RESTful API
      2. Tomcat
      3. www_server.conf
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved