Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am doing work on a server with a postgresql database from home, where I have a dynamic IP, so I use the no-ip ddns service to map my ip to a host name.
I want to edit the pg_hba.conf file so that I can get into the database from home (not setting it to all hosts), but it doesn't seem to work with the host name. Is there anyway to make it work?
This won't work, because the DNS name in pg_hba.conf needs to match the reverse DNS- IP-to-name- lookup result for your IP address: this is assigned by your connectivity provider, and ddns doesn't touch it (just provides an extra forward- name-to-IP- entry).
I believe this functionality was introduced in v9.1: http://www.postgresql.org/docs/9.1/interactive/auth-pg-hba-conf.html
If you're using a version prior to that, you could write a cron-fired shell script that does the DNS lookup and dynamically creates the pg_hba.conf file. (You might have to do a HUP after changing it, not sure off the top of my head.)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Would that just be a reverse proxy? Is it even possible to hide a servers ip address with a public proxy? How would hiding the servers ip address work?
Services generally need to be in a fixed location as otherwise clients can't find them via DNS to connect to them. The servers that implement that service can of course be behind a proxy, which does indeed hide them as you say, and this is very common in load balancing configs. Whether that constitutes hiding their IP really depends what you're trying to achieve, since the balancer/front end is publicly visible, and very likely close to the back-end, in network terms.
If you want to hide the location of the service, rather than any of the collection of servers behind it, then you need to look at running a tor onion service, which resolves the location of the service in a way that doesn't reveal its IP, without using DNS in the usual way.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
When creating a netcat-like program how do I get that file onto a server? It seemed like the reason for creating a netcat-like program was to be able to use it to run commands, get files and connect to ports.
So it seems like it's necessary to have it on the server in order to put it on the server?
I'm probably just really confused.
You'd use another program to load it initially. For example, you might ssh in.
It is also possible that you'd have physical access to the server and could install the first file transfer program manually, or as part of the intial OS install.
Not all interactions have to be done remotely. Otherwise, your intuition would be right -- we'd have a chicken and egg problem.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I had seen this domain name in facebook's presentation. But when I try to open. it redirect me to my localhost (WAMP). Open This Link of facebook's subdomain. Why It's redirecting me to my localhost.
MY QUESTION IS HOW CAN I SET UP SERVICE LIKE THIS ON MY OWN DOMAIN ?
I had attached preview as below, if you don't have wamp / xamp installed on your machine.
** It's my localhost
All they've done is mapped (via DNS) the hostname www.prod.facebook.com to the IP address 127.0.0.2. If you have control over your domain's DNS you can do that easily. I'm sure they did this so that the URL looked more official in the demo, rather than putting "localhost" in the browser's URL bar.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to install and run ejabberd on localhost (with localhost as domain) and connect to this from a client to experiment with client functionality?
The reason that I want to do this is to be able to play around with extensions that are not available on for example jabber.org.
It is indeed possible. If you use binary installer from ProcessOne, you are even asked by installer the domain name you wish to use.
sure its possible,and really easy too. You can use any xmpp server for that like openfire or ejabberd. And Thse servers have user friendly web interface for administration.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm developing a Web service using a VM behind a firewall on a University. I need to know what a range of IP address to give to our IT guy so we can get access to calls from foursquare.
You'll never be able to reliably pin this down. It's not as if they are using one subnet.
Your IT guy needs to open up your firewall differently, based on your end, not Foursquare's.
Navigate to zoneedit.com in the DNS lookup field enter foursquare.com and in the dropdown select "Ip Address (A)" you will find only one record listed. After further research I found that Foursquare is hosted at Amazon Web Services and the most likely scenario is that thy will have have multiple servers hosted behind a single IP'ed load balancer. You will need to get the IPs for foursquare.co.uk or any other top level domains it may operate under (COM,NET,CO.UK and so on) but from what I can find CO.UK is the only other country it operates in.