Hi All,
We are trying to explore MCS Rest Connector API.
We first tested it with google Map URL.
https://maps.googleapis.com/maps/api/directions/json?origin=los+angeles&destination=seattle
It worked fine.
After that we tried to use one internal server url with ip address, it is showing below error message.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- FileName: index.html
Language: \[en\]
-->
<!--Head-->
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>McAfee Web Gateway - Notification</title>
<script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>
<link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />
</head>
<!--/Head-->
<!--Body-->
<body onload="swOnLoad();">
<table class='bodyTable'>
\<tr>
\<td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg\_body.gif'>
<!--Logo-->
<table class='logoTable'>
<tr>
\<td class='logoData'>
\<a href='[http://www.mcafee.com](http://www.mcafee.com/)'>
\<img src='/mwg-internal/de5fs23hu73ds/files/default/img/logo\_mwg.png'>\</a>
\</td>
</tr>
</table>
<!--/Logo-->
<!--Contents-->
<!-- FileName: DefaultErrorTemplate.html
Language: \[en\]
-->
<!--Title-->
<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
<tr>
\<td class='titleData'>
Default Block Template
\</td>
</tr>
</table>
<!--/Title-->
<!--Content-->
<table class="contentTable">
<tr>
\<td class="contentData">
This is a default error message. Please make sure to configure an appropriate error template for rule "Block URLs in List OPC-MCS-Blocked Categories from Clients in \*.opcmobile.\*.oraclecloud.com".
\</td>
</tr>
</table>
<!--/Content-->
<!--/Contents-->
<!--Policy-->
<table class='policyTable'>
<tr>
\<td class='policyHeading'>
\<hr>
Company Acceptable Use Policy
\</td>
</tr>
<tr>
\<td class='policyData'>
This is an optional acceptable use disclaimer that appears on every page. You may change the wording or remove this section entirely in index.html.
\</td>
</tr>
</table>
<!--/Policy-->
<!--Foot-->
<table class='footTable'>
<tr>
\<td class='helpDeskData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg\_navbar.jpg'>
For assistance, please contact your system administrator.
\</td>
</tr>
<tr>
\<td class='footData'>
generated \<span id="time">2016-11-24 07:10:45\</span> by McAfee Web Gateway
\<br />
Java1.7.0\_111
\</td>
</tr>
</table>
<!--/Foot-->
\</td>
\</tr>
</table>
</body>
<!--/Body-->
</html>
URL which we are using are accessible from outsite.i.e. it is available on public internet.
We referred to documentation
https://docs.oracle.com/en/cloud/paas/mobile-cloud/mcsua/rest-connector-apis.html#MCSUA3239
which states that we can use only port 80(http) and 443(https).
Accordingly we made changes at our server level.
Our rest services are hosted on 80 port.
As well as on 443 port using self-signed certificate.
We can not share URL due to security reasons, but following is reasons, if we hit URL, following JSON response is sent from server.

Mentions JSON response from our server, incase above image is now shown.
{"age":456,"hobbies":"sleeping","name":"ram"}
I have following queries:-
1. Do we need to have proper host name in order to call from MCS Connector API?
2. Does MCS Connector API work with only Pubic ip instead of hostname?
3. Is there any extra information required to debug above issue.
Thanks,
Vishal