报错Service id not legal hostname的原因是服务名称不能带有下划线,可以使用中划线 转载于:https://www.cnblogs.com/modou/p/10350291.html