{"id":2606,"date":"2018-09-18T08:34:58","date_gmt":"2018-09-18T07:34:58","guid":{"rendered":"http:\/\/www.robertprice.co.uk\/robblog\/?p=2606"},"modified":"2018-09-26T12:44:36","modified_gmt":"2018-09-26T11:44:36","slug":"using-a-proxy-server-from-the-mendix-modeller","status":"publish","type":"post","link":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/","title":{"rendered":"Using a proxy server from the Mendix Modeller"},"content":{"rendered":"<p>There are times when building online services you find yourself behind a firewall and need to use a proxy. Sometimes these are transparent, but other times you need to add settings by hand.<\/p>\n<p>In a Mendix app, an example may be when you need to consume a REST service from outside you home network.<\/p>\n<p>To configure proxy settings in Mendix, you need to go to our Project&#8217;s &#8220;Settings&#8221;. Open &#8220;Configurations&#8221;, select your working configuration, and click &#8220;Edit&#8221;. Select the &#8220;Custom&#8221; tab and add the following &#8220;Names&#8221; and &#8220;Values&#8221;.<\/p>\n<p><code>http.proxyHost<\/code> The name your proxy<br \/>\n<code>http.proxyPort<\/code> The port your proxy is running off of.<\/p>\n<p>If my proxy was running on proxy.robertprice.co.uk:8080, my settings would be<\/p>\n<p><code>http.proxyHost<\/code> proxy.robertprice.co.uk<br \/>\n<code>http.proxyPort<\/code> 8080<\/p>\n<p>Sometimes the proxy will also need a username and password. You can set these using <code>http.proxyUser<\/code> and <code>http.proxyPassword<\/code>. For example<\/p>\n<p><code>http.proxyUser<\/code> RobertPrice<br \/>\n<code>http.proxyPassword<\/code> SecretPassword<\/p>\n<p>You should now be able to access external services through the proxy from Mendix.<\/p>\n<figure id=\"attachment_2609\" aria-describedby=\"caption-attachment-2609\" style=\"width: 1712px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxySettings.png\" alt=\"\" width=\"1712\" height=\"1110\" class=\"size-full wp-image-2609\" srcset=\"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxySettings.png 1712w, https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxySettings-300x195.png 300w, https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxySettings-768x498.png 768w, https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxySettings-1024x664.png 1024w, https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxySettings-1200x778.png 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-2609\" class=\"wp-caption-text\">Example proxy settings for the Mendix Modeller<\/figcaption><\/figure>\n<p>More information on using a proxy in Mendix is available at <a href-\"https:\/\/docs.mendix.com\/refguide\/using-a-proxy-to-call-a-rest-service\">Using a proxy to call a REST service<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are times when building online services you find yourself behind a firewall and need to use a proxy. Sometimes these are transparent, but other times you need to add settings by hand. In a Mendix app, an example may be when you need to consume a REST service from outside you home network. To &hellip; <a href=\"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using a proxy server from the Mendix Modeller&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2611,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2],"tags":[98,52],"class_list":["post-2606","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dev","tag-mendix","tag-proxy"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using a proxy server from the Mendix Modeller - Robert Price<\/title>\n<meta name=\"description\" content=\"How to configure the Mendix Modeller to use a proxy server to access online content from behind a firewall.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using a proxy server from the Mendix Modeller - Robert Price\" \/>\n<meta property=\"og:description\" content=\"How to configure the Mendix Modeller to use a proxy server to access online content from behind a firewall.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/\" \/>\n<meta property=\"og:site_name\" content=\"Robert Price\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-18T07:34:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-09-26T11:44:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxyFeatured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"768\" \/>\n\t<meta property=\"og:image:height\" content=\"384\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"rob\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rob\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/\"},\"author\":{\"name\":\"rob\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#\\\/schema\\\/person\\\/fac6d5b076e0e14e1fb13e15b542a6c5\"},\"headline\":\"Using a proxy server from the Mendix Modeller\",\"datePublished\":\"2018-09-18T07:34:58+00:00\",\"dateModified\":\"2018-09-26T11:44:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/\"},\"wordCount\":194,\"image\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/MendixModellerProxyFeatured.png\",\"keywords\":[\"Mendix\",\"proxy\"],\"articleSection\":[\"Dev\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/\",\"url\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/\",\"name\":\"Using a proxy server from the Mendix Modeller - Robert Price\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/MendixModellerProxyFeatured.png\",\"datePublished\":\"2018-09-18T07:34:58+00:00\",\"dateModified\":\"2018-09-26T11:44:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#\\\/schema\\\/person\\\/fac6d5b076e0e14e1fb13e15b542a6c5\"},\"description\":\"How to configure the Mendix Modeller to use a proxy server to access online content from behind a firewall.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/MendixModellerProxyFeatured.png\",\"contentUrl\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/MendixModellerProxyFeatured.png\",\"width\":768,\"height\":384},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/using-a-proxy-server-from-the-mendix-modeller\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using a proxy server from the Mendix Modeller\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#website\",\"url\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/\",\"name\":\"Robert Price\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#\\\/schema\\\/person\\\/fac6d5b076e0e14e1fb13e15b542a6c5\",\"name\":\"rob\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g\",\"caption\":\"rob\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using a proxy server from the Mendix Modeller - Robert Price","description":"How to configure the Mendix Modeller to use a proxy server to access online content from behind a firewall.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/","og_locale":"en_GB","og_type":"article","og_title":"Using a proxy server from the Mendix Modeller - Robert Price","og_description":"How to configure the Mendix Modeller to use a proxy server to access online content from behind a firewall.","og_url":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/","og_site_name":"Robert Price","article_published_time":"2018-09-18T07:34:58+00:00","article_modified_time":"2018-09-26T11:44:36+00:00","og_image":[{"width":768,"height":384,"url":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxyFeatured.png","type":"image\/png"}],"author":"rob","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rob","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/#article","isPartOf":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/"},"author":{"name":"rob","@id":"https:\/\/www.robertprice.co.uk\/robblog\/#\/schema\/person\/fac6d5b076e0e14e1fb13e15b542a6c5"},"headline":"Using a proxy server from the Mendix Modeller","datePublished":"2018-09-18T07:34:58+00:00","dateModified":"2018-09-26T11:44:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/"},"wordCount":194,"image":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxyFeatured.png","keywords":["Mendix","proxy"],"articleSection":["Dev"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/","url":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/","name":"Using a proxy server from the Mendix Modeller - Robert Price","isPartOf":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/#primaryimage"},"image":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxyFeatured.png","datePublished":"2018-09-18T07:34:58+00:00","dateModified":"2018-09-26T11:44:36+00:00","author":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/#\/schema\/person\/fac6d5b076e0e14e1fb13e15b542a6c5"},"description":"How to configure the Mendix Modeller to use a proxy server to access online content from behind a firewall.","breadcrumb":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/#primaryimage","url":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxyFeatured.png","contentUrl":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/MendixModellerProxyFeatured.png","width":768,"height":384},{"@type":"BreadcrumbList","@id":"https:\/\/www.robertprice.co.uk\/robblog\/using-a-proxy-server-from-the-mendix-modeller\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.robertprice.co.uk\/robblog\/"},{"@type":"ListItem","position":2,"name":"Using a proxy server from the Mendix Modeller"}]},{"@type":"WebSite","@id":"https:\/\/www.robertprice.co.uk\/robblog\/#website","url":"https:\/\/www.robertprice.co.uk\/robblog\/","name":"Robert Price","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.robertprice.co.uk\/robblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.robertprice.co.uk\/robblog\/#\/schema\/person\/fac6d5b076e0e14e1fb13e15b542a6c5","name":"rob","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g","caption":"rob"}}]}},"_links":{"self":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts\/2606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/comments?post=2606"}],"version-history":[{"count":4,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts\/2606\/revisions"}],"predecessor-version":[{"id":2619,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts\/2606\/revisions\/2619"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/media\/2611"}],"wp:attachment":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/media?parent=2606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/categories?post=2606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/tags?post=2606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}