dyndns

Get public IP using DynDNS and WebRequest C#

时光怂恿深爱的人放手 提交于 2019-12-24 04:33:50
问题 I Use this code to get the public IP-address (thanks to this post How to get the IP address of the server on which my C# application is running on?): public static string GetPublicIP() { try { String direction = ""; WebRequest request = WebRequest.Create("http://checkip.dyndns.org/"); using (WebResponse response = request.GetResponse()) { using (StreamReader stream = new StreamReader(response.GetResponseStream())) { direction = stream.ReadToEnd(); } } //Search for the ip in the html int first

Domain name for my PC: how to (tried No-IP, DuckDNS and ngrok)

梦想的初衷 提交于 2019-12-17 16:54:31
问题 I want: ping server on my PC by it domain name from remote. I have: DynDNS services DuckDns (or No-IP, config in no-ip is even harder). It gets me an IP 94.154.220.216 and (sub)domain http://my_domain.duckdns.org . To configure DuckDNS on PC I need just specify some token and my domain name ( my_domain ). Also I've launched server on lacalhost:3000 . Also when I go to CanYouSeeMee it says that my IP is 94.154.220.216 (that's good). And I configured static IP for my PC (let's say 200.300.1.15

PHP MySql unknown server host

旧巷老猫 提交于 2019-12-08 04:10:47
问题 I am running Ubuntu 12.04.4 LTS with MySQL 5.5.38 and PHP 5.3.10, using Webmin 1.680 (although I do use the terminal for administration as well). I am on a dynamic IP so I have been using dyndns to host a website, which has been working flawlessly. I want to expand my website to access a mysql database. I am attempting to use PHP to connect to mysql, specifically a specific database I set up using Webmin. However, I keep getting the error: "Unknown MySQL server host '127.0.0.1:3306'" I have

PHP MySql unknown server host

梦想的初衷 提交于 2019-12-07 01:54:27
I am running Ubuntu 12.04.4 LTS with MySQL 5.5.38 and PHP 5.3.10, using Webmin 1.680 (although I do use the terminal for administration as well). I am on a dynamic IP so I have been using dyndns to host a website, which has been working flawlessly. I want to expand my website to access a mysql database. I am attempting to use PHP to connect to mysql, specifically a specific database I set up using Webmin. However, I keep getting the error: "Unknown MySQL server host '127.0.0.1:3306'" I have checked the mysql configuration and it is set to that IP and port. I have also checked my server hosts

Domain name for my PC: how to (tried No-IP, DuckDNS and ngrok)

让人想犯罪 __ 提交于 2019-11-28 01:41:30
I want: ping server on my PC by it domain name from remote. I have: DynDNS services DuckDns (or No-IP , config in no-ip is even harder). It gets me an IP 94.154.220.216 and (sub)domain http://my_domain.duckdns.org . To configure DuckDNS on PC I need just specify some token and my domain name ( my_domain ). Also I've launched server on lacalhost:3000 . Also when I go to CanYouSeeMee it says that my IP is 94.154.220.216 (that's good). And I configured static IP for my PC (let's say 200.300.1.15 ) And Setting port forwarding for with help of Port Forwarding Wizard (Port= 3000 , Protocol=TCP,

Error with IP and Nginx as reverse proxy

大憨熊 提交于 2019-11-27 20:44:40
问题 I configured my Nginx as simple reverse proxy. I'm just using basic setting location / { proxy_pass foo.dnsalias.net; proxy_pass_header Set-Cookie; proxy_pass_header P3P; } The problem is that after some time (few days) the site behind nginx become unaccessible. Indead nginx try to call a bad ip (the site behind nginx is at my home behind my box and I'm a using a dyn-dns because my ip is not fixe). This dyn-dns is always valid (I can call my site directly) but for obscure reason Nginx get