ERROR:transport error 202: gethostbyname: unknown host
2016-05-26 15:04
531 查看
ERROR:transport error 202: gethostbyname: unknown host
A configuration error occurred during startup. Please verify the preference field with the prompt: ERROR: transport error 202: gethostbyname: unknown host
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
解决方法:
在windows/system32/drivers/etc/hosts下面添加
127.0.0.1 localhost.localdomain localhost
上面一行就行了。
应该是localhost没有映射到127.0.0.1的缘故。因为eclipse调试的时候会连接localhost的.
A configuration error occurred during startup. Please verify the preference field with the prompt: ERROR: transport error 202: gethostbyname: unknown host
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
解决方法:
在windows/system32/drivers/etc/hosts下面添加
127.0.0.1 localhost.localdomain localhost
上面一行就行了。
应该是localhost没有映射到127.0.0.1的缘故。因为eclipse调试的时候会连接localhost的.
相关文章推荐
- 有关tomcat内存溢出的完美解决方法
- nginx location 匹配顺序
- Myeclipse快捷键大全
- 关于Spring嵌套事务
- solr4.7配置教程
- 设置虚拟机自启动
- Redis 3.2 GEO功能支持
- 在Java中连接字符串时是使用+号还是使用StringBuilder
- Java 单例模式详解
- 表单中基本组件使用1(Button,JLabel,JTextField,JPasswordField等)
- 经典网络语录
- 值得一读的语录
- 导航navigationItem
- SQL SERVER 2008为每个IP分配一个端口
- Python FTP例子
- 通过Navicat for MySQL远程连接的时候报错mysql 1130的解决方法
- UISearchController偏移
- 在centos下安装mongodb
- flash上面加超链接(非flash内置)
- JDK动态代理实现原理(源码解读)