我有一个专用的服务器设置了我的应用程序的两个实例。一个在生产中,一个在舞台上
我似乎不能同时在这两个应用上运行思考狮身人面像。
当我试图启动它时,我会得到以下错误:
[Tue Jul 30 10:02:31.618 2013] [20464] Child process 20465 has been forked [Tue Jul 30 10:02:31.669 2013] [20465] listening on 127.0.0.1:9306 [Tue Jul 30 10:02:31.669 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:34.672 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:37.676 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:40.679 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:43.682 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:46.685 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:49.688 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:52.691 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:55.694 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:58.697 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:03:01.700 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:03:04.703 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:03:07.706 2013] [20465] FATAL: bind() failed on 127.0.0.1: Address already in use [Tue Jul 30 10:03:07.707 2013] [20464] Child process 20465 has been finished, exit code 1. Watchdog finishes also. Good bye!
有人能建议我如何在同一台服务器上运行同一应用程序的两个版本的TS吗?
发布于 2013-07-30 10:16:26
应该为不同的环境指定不同的端口:
config.html
https://stackoverflow.com/questions/17942724
复制相似问题