how i can access local web or database server remotely without static IP

↘锁芯ラ 提交于 2019-12-05 14:45:43
  1. Get a new Dynamic DNS
  2. Install the Dynamic DNS update software on the computer hosting the services.
  3. On your home internet router, forward the ports 80 and 3306 to the computer hosting the services.

That's it, you should now be able to connect to the WebServer and MySql database by pointing your requests to, i.e.:

mycomputer.no-ip.me

You can use the www.noip.com service. They have a service for people who have an ISP that doesn't provide an static external ip. You can get a hostname, example: yourname.no-ip.org and you run no-ip's client on your pc that will check if your external ip changes. If it does, it will automatically fix the necessary dns changes for your hostname, so the hostname points to your new ip.

Or you got similar providers like dyndns.

EDIT: Don't forget that you might have to port forward the ports for the services you are trying to reach outside of your network. (Examples: www.portforward.com)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!