How to allow all network public ip to access my database? [closed] - mysql

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 am trying to make my database available on the internet so I hosted my database on Google Cloud Platform. With their instructions, I am able to connect with my public IP address to access the remote database with my MySQL Workbench & make request with the database public IP address.
However, I realize that my IP could change because public IP is different on every network, which may mean my database is stuck on the local computer environment. What should I do to make the database available to all networks? I want thrid party users to use my api to get data from my remote database.
I am not sure putting the server on the internet is what a developer supposed to do, just trying to get things out of localhost but I am very confused. Please help me :)
The problem (I think)
Public IP changes on different router, cutting off my database connection.

You can add all public-ip range into your "Authorized networks"
Add 0.0.0.0/0 as allowed CIDR for IPv4

Related

How to find out who is hosting my Wordpress site? [closed]

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 3 years ago.
Improve this question
I am taking over a wordpress site for a company. They don't know who is currently hosting their wordpress site, all they have is the domain name hoster and the wordpress site admin login info.
You need to check the DNS the domain name is pointed to. You may check the nameservers (=DNS) in public Whois database: https://www.whois.net/
Also, this resourse should help: http://www.whoishostingthis.com/
I have used quite a few, but depending on the database they work with, some deliver wrong info. The best one currently is Hosting Checker and Who Is Hosting This comes second.
see this website http://www.whoishostingthis.com/ It worked for me
It sounds to me like you already know who hosts the domain, you're just looking to find out where the actual files are being served from. If that's correct, you should try:
ping theirdomain.tld
When you ping the domain, it will give you the IP address where the files are hosted. You can plug that IP address back into whois, you'll find out who actually owns that IP address.
For example, if I want to find out where my company's website is located, I would do:
ping 0708scompany.tld
copy the ip address.
whois ip.address.from.ping
You can use the whois yourdomain.com and it should give you the relevant information. It will provide you with the DNS, who the domain name is registered with, and a whole lot more.
You can use whois. Just google whois and you can figure out how. If you have it installed, type whois domain.com in a terminal. You could also use whois.icann.org or other whois sites.
whois tells name, address, and other things. You can use it on any site, so it is indeed very useful.

Apache Domain Registering [closed]

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 8 years ago.
Improve this question
I'm making a website using Apache as the web server. Would I have to register a domain with someone like godaddy? I don't want someone like godaddy hosting a website for me. I want to be in control of the server.
GoDaddy can, but does not have to control the domain itself.
When you register the domain name, you provide GoDaddy (or whichever registrar you choose) multiple "Name Server" addresses. These are the computer systems that will actually house your domain's information.
I use Amazon's Route 53 DNS server (http://aws.amazon.com/route53/) since I run my own web server, but you could run your own DNS server, or use your hosting provider's name servers.
The "Name Server" that you specify will maintain the details about your domain such as what IP handles email, name servers, a/cname records (sub-domains), etc...
In addition to GoDaddy, you could use Network Solutions (http://www.networksolutions.com), Dotster (http://dotster.com), Register.com (http://www.register.com), and if you google DNS Registrars, you'll find tons of them.
You could just buy the domain name from GoDaddy, or any other DNS provider.
You can host your own domain by pointing the nameservers to your own server!
Take a look at How to assign a domain name to your home web server.

How to access two servers on one domain [closed]

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 8 years ago.
Improve this question
Port 80 is forwarded to a server on my network which has links to the different projects I'm working on, how could I allow people to connect to the server running on my laptop when I'm using it? I would obviously not prefer to change my router settings frequently to port forward to my laptop. I want the user to access my domain and maybe have a set of links which will be described as static and another set which will have a description cautioning the user that said links will only work when I am online and they would somehow redirect to my laptop. (Lamp Server)
Well, if I understood correctly your question, you should configure your laptop as a reverse proxy for your main server.
As you said, you should have a set of links which will redirect to your laptop (via reverse proxy config), but of course these links will work only when your laptop is available.

installing mysql server on a network [closed]

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 9 years ago.
Improve this question
I want to install MySQL server at work. The goal is to give Remote Access to different users. This part is OK. I have granted permission to others users and it worked.
My question is how and where can i install MySQL server so it is not depended on my work computer being on. At my Works network we have common Networks harddisk. If i install MySQL server there, is it gonna be running all the time? or do i need to contact IT in order to install MySQL on the server hosting Our main work database?
thanks for helping.
There are a lot of considerations to be made when installing new servers. If you are going to be running an SQL Server your I.T. Department should know about it. They are also going to be the best people to determine potential security concerns and where it would be most suitably hosted.
When you say you have "common Networks harddisk" I presume you mean a mapped network drive or SMB Shares. This is for data storage and you cannot install anything to there without direct access to the server they are running on.
It is also likely that your company is already running a dedicated SQL Server which you may be able to utilize.
Either way if you have an IT Department, They need to know and they are the only people who can answer this question.

Basic questions about IP addressing/Networks/Remote MySQL database connection [closed]

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 8 years ago.
Improve this question
I have a couple network/msyql/IP address questions if you guys wouldn't mind answering if you know them.
I have 2 IP addresses for my computer, the 1 when i type "ipconfig" in command prompt(172.xxx.xxx.xxx), and the other 1 when i type "ip address" into google(108.xxx.xxx.xxx). I would like to clarify which each of these IP's are.
Is the address "172.xxx.xxx.xxx" the public WAN IP address that my ISP gave me?
Is the address "108.xxx.xxx.xxx" the private LAN IP address that my router assigned to me?
The reserved private address ranges of
10.0.0.0, 10.255.255.255
172.16.0.0, 172.31.255.255
192.168.0.0, 192.168.255.255
have a total sum of 17million address(16m+1m+64k). Are these addresses the ones that the IANA gives to ISP's which they give to each company/home? And if they are, then why are they named "private" in wiki? I though private IP's were IP's behind a router in a LAN.
I have a c++ program with mysql connector that connects to a mysql database on one of my home LAN computers through my private(WAN?) IP(172.xxx.xxx.xxx). So my question is will this program still connect to my database if i run it on computers outside of my LAN?
The IP address you see from google is the public IP address, the address given to you via your modem. The other address is your private IP address.
Access to your mySQL DB is only avail when connected in the private network. You would have to setup port/IP forwarding on your router to allow access to your mySQL DB, you'd also need a static IP address given to you by your provider.
With this setup you'd connect to your mySQL DB via the public IP (static) address and your router would forward requests to your mySQL machine.