---
title: "unable to ping server at localhost:1099"
author: "flashdream8"
date: "2014-12-10T10:30:23Z"
tags: []
categories: ["编程语言"]
slug: "unable-to-ping-server-at-localhost-1099"
draft: false
lastmod: "2014-12-10T10:30:23Z"
id: 2164725
url: "https://flashdream8.iteye.com/blog/2164725"
---

开始使用linux开发环境，在配置idea 下tomcat 启动时报错，提示错误为unable to ping server at localhost:1099.

解决办法：

修改/etc/hosts 文件

添加如下信息：

127.0.0.1  localhost   【计算机名】

如

127.0.0.1  localhost  abc