Not able to access my proxy in browser in my private edge instance

Hi, I have installed my Apigee instance in my single node and I try to open Apigee UI with localhost address.Its working fine.But when I try to create a proxy in the Apigee edge and try to access the proxy I am getting a 404 error. I went through this document https://docs.apigee.com/private-cloud/v4.17.01/allowing-edge-ui-access-local-ip-addresses and have made following changes in this path: /opt/apigee/edge-ui/token/default.properties

conf_apigee-base_apigee.feature.enabletraceforinternaladdresses="true"

conf_apigee-base_apigee.feature.enablewsdlforinternaladdresses="true"

conf_apigee-base_apigee.feature.enableopenapiforinternaladdresses="true"

And I have restarted my Edge UI.But I am facing the same old issue.Can you please help me out.

Solved Solved
0 4 182
1 ACCEPTED SOLUTION

from OPDK POV, "localhost" is the host where RMP runs > so this to work you need also transfer header with name 'Host' and value of one of your virtual hosts. not sure if this will work, though..

View solution in original post

4 REPLIES 4

from OPDK POV, "localhost" is the host where RMP runs > so this to work you need also transfer header with name 'Host' and value of one of your virtual hosts. not sure if this will work, though..

I tried the following curl command : curl -i http://127.0.0.1:8081/no-target -H "Host:default" , but still getting error as :

HTTP/1.1 404 Not Found

Content-Type: text/html;charset=utf-8

Content-Length: 47

Not applicable

I would suggest to do the curl from the router server as

curl -v http://routerip:port/proxybasepath -H "Host: url of the virtual host"

I was able to access. The issue I had was w.r.t port number. I was using 8081 for my host alias which is reserved for router. So I change my port number in host alias configuration and it worked.Thanks for all responses.