Can servers use proxies to hide their ip? [closed] - server

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.

Related

Is consistent hashing useless if our server uses RESTful APIs? [closed]

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
So RESTful APIs are stateless wherein the server does not store any state about the client session on the server side.
And consistent hashing in load balancing is used to associate a client with a server, ie, all requests from a given client will be directed to a given server only (amongst a group of servers) because that server has some data stored in it about that client.
So, if our server uses RESTful APIs then is there no need for consistent hashing while load balancing?
Not necessarily. While RESTful APIs are stateless, your server isn't. Server-side caching doesn't violate the constraints of REST. If a server is able to keep information from a client in its cache, it could make a significant difference if future requests are made to that server instead of to another one which may need to perform more work to retrieve the client's data.
It is very situational, however, so I can't speak to your specific server setup!

How many connections can maintain a server and how to know it? [closed]

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 6 years ago.
Improve this question
I am searching about how many connections can manage a server, I don't have any idea how to filter in google about it, even it would be fantastic if I could simulate an amount of queries and check by my self how many connections are possible
Thanks
I believe there are 6 available "pipes" when requesting resources from a server; such as, six images come through at a time to help populate a web page. However network speed ultimately determines efficiency of this. There are ways to increase the resources pulled by utilizing services such as Content Delivery Networks (CDN) to serve up only the images for example or a particular sub-domain to serve up query calls.
While the above may be out this scope, I came across this answer regarding concurrent user connections to an Apache server and how to manage counts.

Webserver security, make server public [closed]

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 on my main computer, which I use for everything. store private images, documents, and stuff.
But I'm going to show off my website for lets say a company.
Is is secure for me to link my ip-adress and make them take a look from there or should I upload it to a webhosting service first?
I don't want them to get access to my files on the computer. I know they can get html, css and javascript files. but is there something else I should worry about?
I'll try to provide you with the most information I can:
I'm behind a router which has port 80 open for the webserver?
Using W7, xampp, and I've F-secure installed.
Also I wonder because I've a stable 100/100 connection and I've no down-time in two years.. so I would like to skit my hosting service and redirect the domains to my computer instead.. is this safe or should I buy a seperate server running Ubuntu?
Sorry if I couldn't find the answers on my own.
well as long as you set up your webserver right you should be fine, but it`s probably for the best to buy a linux vps.
VPS' are cheap and it takes the toll off of your computer, plus you just eliminate any sort of personal information leak from the get-go.
I had good experience with:
http://www.linode.com/
http://www.strato-hosting.co.uk/
http://vpsville.ca/
I had bad experience with:
http://burst.net/
However, burstnet has cheap ips, but their nodes are very unstable.

What is the IP address range for foursquare API? [closed]

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.

postgresql accept dynamic dns hosts? [closed]

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.)