Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm trying to connect my Heroku app to Atlas MongoDB using static IP.
I've installed QuotaGuard Shield Static IP.
When running heroku run bash and then running curl http://icanhazip.com/ I get a different IP than then ones mentioned in QuotaGuard Shield's dashboard.
Does anyone know what am I missing in the configuration of QG Shield?
You need to use curl -x $QUOTAGUARDSHIELD_URL http://icanhazip.com.
You have to tell curl to use the proxy.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Debian 9.11 box...
I have two REST APIs written in Go running on server on ports 8111 and 8112 (both as services) and an Apache2 server running on default port 80.
My Web application (written using Quasar/VueJs) is served by the Apache2.
My internet domain points to this box.
I cannot access the APIs using www.mydomain.com:8111/...
In fact, when I use these things by IP and without HTTPS everything worked. Now that I'm trying to use the domain name and HTTPS ("magically" provided by Cloudflare) I can't acess anything...
What am I missing?
Solved!
On Apache <VirtualHosts> configurations:
<Location /api/userstatus >
ProxyPass http://localhost:8111/userstatus
ProxyPassReverse http://localhost:8111/userstatus
</Location>
Incoming traffic uses HTTPS, internal API uses HTTP.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have followed all the stack overflow answers I found on the topic but none of them fixed my issue.
I have a Heroku app "lagora.herokuapp.com" which is running and I'm trying to connect it to www.logora.fr through Godaddy.
On the heroku interface, I've added the domain with the CLI heroku domains:add www.logora.fr.
On the Godaddy interface, I've changed the CNAME (www to herokuapp) to redirect it from GoDaddy to Heroku.
This setup displays nothing. I've been struggling and waiting for hours now.
Do you have any ideas what's happening ?
What I would suggest since Godaddy is not the best to manage your DNS is to get a Cloudflare account and change your nameservers in Godaddy (below the rules) to point to Cloudflare so that it handles your DNS. Here is a link.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm sitting behind a proxy server, which gives me a configuration and routing rules via a .pac file (configured in the global internet settings in windows).
There are some URLs that should not be routed to the proxy server, as they are local addresses in our company. There is also a rule to not route localhost. For development purposes, I have given my machine an alias hostname: 127.0.0.1 dev.company.com
Accessing the URL dev.company.com:8080/index.html with Internet Explorer or Firefox gives me the expected result, however, the same URL in Chrome gets routed to the proxy server, which (of course) is unable to find it.
You could run: chrome://net-internals/proxyservice.init_log#proxy in your chrome browser and re-apply your settings.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Why its necessary to set a static ip and then put in the /etc/hosts file
put the static ip and host to install hadoop? like this:
127..0.1 localhost
::1 localhost
192.10.1.20 hadoophost
In general...
Why its necessary to set a static ip
Because if the machine reboots and acquires a new IP address via DHCP, then your cluster completely breaks.
Other than that, adding an entry to /etc/hosts allows the computer to reference other computers and itself by hostname rather than IP address.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have a Windows VM on Azure and I don't understand why my ping times out.
I found a probable reason: on Azure portal I see public IP "40.127.163.20", but inside VM when I do ipconfig I see different IP that is strange.
Do you have any ideas?
ICMP protocol is not permitted through the Azure load balancer (inbound or outbound) which means that you can't do a simple ping to your VM. There is a : user voice request for this to be enabled here.
This blog here describes how you can use a port ping as an alternative.
There is some documentation on how to set up an Instance Level IP, which would circumnavigate the load balancer and give direct communication to the Virtual Machine, but I haven't tried this approach (I'm giving it a go right now, will report back)