获取本机外网IP的方式笔记
1.IP138
网址:http://www.ip138.com/;
分离出的快速查询地址:http://20140507.ip138.com/ic.asp(2014年8月9日有效)
个人经验:百度搜索“IP”第一条; 拨号宽带有时候不太准。 2.亚太互联网络信息中心
网址:http://www.apnic.net
分离出的快速查询地址:http://cgi1.apnic.net/cgi-bin/myip-js.pl(2014年8月9日有效)
个人经验:IP138 推荐。在ip138不准时,查询apnic都能拿到正确外网ip 3.IP地址查询 - 站长工具
网址:http://ip.chinaz.com/
个人经验:拨号宽带不准。 4.腾讯IP分享计划
网址:http://ip.qq.com/
个人经验:拨号宽带不准。 5.IP.cn
网址:http://www.ip.cn/
个人经验:拨号宽带每次F5刷新IP居然不一样!而且没有一次是刷到正确的IP!囧 6.What Is My IP - The IP Address Experts Since 1999
网址:http://www.whatismyip.com/(可检测是否使用了代理)
分离出的快速查询地址:http://www.whatismyip.com.tw/(2014年8月9日有效) 7.淘宝IP地址库
网址:http://ip.taobao.com/index.php 8.Whats My IP
网址:http://www.whatsmyip.us/ 9.What Is My IP Address At IP-Adress.com - Whois, My IP, & Free Tools!
网址:http://www.ip-adress.com/ 10.DNSPod 本地DNS优化
网址:http://ip.dnspod.cn/
分离出的快速查询地址:http://userns.dnspod.cn:5353/ip(2014年8月9日有效)
获取本机外网IP的方式笔记的更多相关文章
- 获取本机外网ip和内网ip
获取本机外网ip //获取本机的公网IP public static string GetIP() { string tempip = ""; try { WebRequest r ...
- 获取本机外网IP的工具类
ExternalIpAddressFetcher.java package com.tyust.common; import java.io.IOException; import java.io.I ...
- cURL 命令获取本机外网 IP
1.1 查询本机外网 IP # curl dhcp.cn 134.175.159.160 1.2 输出格式为 JSON # curl dhcp.cn/?json { "IP": & ...
- 用Linux命令行获取本机外网IP地址
引言:目前获取ip的方法中,ifconfig和ip获取函数得到的都是内网ip.有时候需要获取外网ip,目前通用的做法,是向外部服务器发送请求,解析外部服务器响应,从而得到的自己的外网ip.linux下 ...
- 获取本机外网ip
获取内网ip ifconfig eth0 | grep 'inet'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $2}' 获取公网ip ifc ...
- Linux命令行获取本机外网IP地址
问题: 服务器地址为net映射地址,本机ifconfig无法直接获取映射的公网地址. 方法: [root@TiaoBan- nidongde]# curl http://ifconfig.me 50. ...
- 【转】用Linux命令行获取本机外网IP地址
$ curl ifconfig.me $ curl icanhazip.com $ curl ident.me $ curl ipecho.net/plain $ curl whatismyip.ak ...
- java获取本机外网ip
public static String getV4IP(){ String ip = ""; String chinaz = "http://ip.chinaz.com ...
- 2019-11-17-dotnet-C#-获取本机外网-IP-地址
title author date CreateTime categories dotnet C# 获取本机外网 IP 地址 lindexi 2019-11-17 16:38:10 +0800 201 ...
随机推荐
- lintcode : find peak element 寻找峰值
题目 寻找峰值 你给出一个整数数组(size为n),其具有以下特点: 相邻位置的数字是不同的 A[0] < A[1] 并且 A[n - 2] > A[n - 1] 假定P是峰值的位置则满足 ...
- 【PHPsocket编程专题(实战篇②)】兼容 Curl/Socket/Stream 的 HTTP 操作类[转]
<?php /************************************************************ * 描述:HTTP操作类 * 作者:heiyeluren ...
- GuessNumber
import java.util.*; public class GuessNumber { public static void main(String[] args) { int num = ne ...
- 获取腾讯soso地图坐标代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- Spring与Struts2整合VS Spring与Spring MVC整合
Spring与Struts2整合,struts.xml在src目录下 1.在web.xml配置监听器 web.xml <!-- 配置Spring的用于初始化ApplicationContext的 ...
- 素数筛法--SPOJ Problem 2 Prime Generator
质数(prime number)又称素数,除了1和它本身外,不能整除以其他自然数,换句话说就是该数除了1和它本身以外不再有其他的因数:否则称为合数.最小的质数是2. 要判断一个整数N是不是质数很简单, ...
- java教材
教材blog !!http://www.w3cschool.cc/java/java-tutorial.html ok http://www.douban.com/group/topic/ ...
- [58 Argo]让argo跑起来
接上一章,使用命令mvn jetty:run启动Argo,进入localhost的页面: 58在这里给了几种常见的访问和传值方法的示例,当点击到第三条<区分queryString和form参数& ...
- 1218. Episode N-th: The Jedi Tournament(bfs)
1218 简答题 对于当前点 判断每个点是否可达 #include <iostream> #include<cstdio> #include<cstring> #i ...
- ha_innobase::open
http://mysql.taobao.org/monthly/2015/08/07/ /******************************************************* ...