问题描述:
webpack项目启动正常, 访问中代理报错。尽在单台开发环境异常
错误提示:
[HPM] Error occurred while trying to proxy request / from 127.0.0.1:9000 to 192.168.1.119:8088 (ENOTFOUND) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /favicon.ico from 127.0.0.1:9000 to 192.168.1.119:8088 (ENOTFOUND) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request / from localhost:9000 to 192.168.1.119:8088 (ENOTFOUND) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /favicon.ico from localhost:9000 to 192.168.1.119:8088 (ENOTFOUND) (https://nodejs.org/api/errors.html#errors_common_system_errors)
原因:
未知
尝试:
修改配置文件端口号后启动及访问正常, 恢复原端口号运行正常