How to setup a global static IP address? - server

So I'm trying to setup a global static IP address for my on-prem server.
I can't find any company/service that can give me an IP address that can be accessed globally.
Please help me because I put hours of work into my server and would hate to see it go to waste.
PS: I'm new to stackoverflow so I don't know the way to be "professional".
I've searched time and time again but I can't find an application that suited my needs.

Related

IP address for fly.io app not recognised in MongoDB Atlas

I'm trying to limit connection to my MongoDB Atlas cluster from only my fly.io app. I have its IPv4 address from the app deployment page (screenshot below)
and added it to the whitelist in MongoDB Atlas (screenshot below)
The problem is that this doesn't even appear to be enough to allow a connection from my app to my cluster. Even increasing the IP range to 137.66.12.0/23 doesn't help. I've had to allow connection from anywhere in order to get my fly app to connect. I don't have this problem if I'm trying to whitelist my own laptop to develop locally.
I should clarify that performing a dig on my app's URL does bring up the IP address in the first screenshot, so at least this confirms that the IP address is not internal to fly.io.
Can anyone explain what's happening here? Is there a way I can work around this?
Thanks in advance!
I think at the time of writing this there's no way for you to do this see here
However they've given out some IP's based on a few regions that you can try your hand at
list of some outbound IP's based on location
Be warned though, these ip's can change on a whim though

Setup a server that can detect IP addresses of clients

I am trying to set up what is possibly a webserver that can detect the IP addresses of the clients that try to access the webpage. In the simplest terms.
1)Let there be a table on the website.
2)Each time a client requests the website, its IP address gets added to the entry of the table.
I have made a webserver before using apache tomcat and even nodejs. But I have no idea how to detect IP adresses. I would also like to know if its possible to set this up online, in the cheapest possible way.
Perhaps nodejs would work using request.connection.remoteAddress, as in this example.

auto assign a static ip on RPi3

This is my first post but I have read a lot of great answers from this community, so first of all, thanks to all the people who indirectly had helped me.
At this time I want to know how can I achieve the following;
I'm working with a Raspberry Pi 3 using the last stable Raspbian and I will access internet via a router connected trough eth, not WiFi, so the router will assign it an IP through DHCP.
What I want to do it's to "automatically" and without my intervention, a script or something that can take that assigned data (IP, DNS, Subnet mask, etc) and use it as values to ask for a static IP the next time the RPi3 reboots (also disabling DHCP).
So can someone please help me to know if this can be done and how?
Thanks!

Is there a way for a bot to find the IP address of my Digital Ocean Server when going through Cloudflare?

I am a PHP coder but not a server expert so I wondered if anyone could answer the following query.
Is there a way that a bot can determine the IP of my server when it runs through Cloudflare?
Someone suggested that folk could try ftp.domain.com and things like that. I do not have that setup on my server although Cloudflare do set this up automatically for you when you register a domain.
If you are a server expert and wanted to determine the actual IP of a server, how would you go about it?
Thanks.
PS: I do not want my IP public, hence the question.
Someone that really wants to find your server IP address probably can. We're only going to really stop basic lookups from returning your IPs, but we can only proxy web traffic & some records on your domain (mail, for example) may still return your server IP.
We do have some tips on minimizing the probability that someone could find it easily with these guidelines.

What is the preferred way to find all other clients on local network?

Writing an iPhone app in which I want to save the user the grief of typing in IP addresses by finding other clients on the local network.
Is this possible?
If so, what is the preferred way of doing this?
Yes, use Bonjour. See NSNetService.
This class is used to advertise information about the service you're running using multicast DNS. Use NSNetServiceBrowser to find published services of the type you're interested in.
The clients need some way to register with the server. Or you can use portknocking. Long time back there was a protocol from Novell SLP. There is a OpenSLP now. Found a interesting link, I hope this helps
http://www.opendoor.com/shareway/slp.html