Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to make MID Server use a proxy for all traffic - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to make MID Server use a proxy for all traffic
KB0744474

How to make MID Server use a proxy for all traffic


19801 Views Last updated : Aug 24, 2022 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

When using the MID server with a network proxy and making external SOAP/REST calls, we get a socket timeout error similar to "java.net.SocketTimeoutException: connect timed out when posting to"...URL.

Cause

MID server operations do not go through customer proxies as default, which is the point of internet access for their network. When a MID server is installed to use a proxy, the proxy is only used to retrieve the operations to execute.

Resolution

To force the mid server operations to go through a proxy, please follow the steps below: 

  1. Go into the MID server record in MID Server -> Servers -> (Your MID server).
  2. On the 'Properties' tab, add 'glide.http.proxy_host' and 'glide.http.proxy_port'. If using a username and password for the proxy also add 'glide.http.proxy_username' and 'glide.http.proxy_password'
  3. Restart the MID server.

Below is a screenshot of example settings:

 MID Server proxy settings

Note iconNote: If you set up the proxy properties on the MID server, all communications will go through the proxy, including internal server ones.
Busy proxies could cause connectivity problems for the MID server, especially on Discovery operations.

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • MID server proxy.png

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.