0
我想在運行於VirtualBox 4.0.12中的Ubuntu 10.04上運行CruiseControl 2.8.4。當我使用默認選項啓動CruiseControl時,它無法打開到儀表板的端口8080的連接。端口轉發沒有什麼區別,但我不想從外面訪問它。CruiseControl無法在客戶操作系統中打開連接
2011-08-03 19:09:45,466 [Timer-0 ] DEBUG HttpMethodDirector - Attempt number 1 to process request
2011-08-03 19:09:45,466 [Timer-0 ] DEBUG HttpConnection - enter HttpConnection.open()
2011-08-03 19:09:45,467 [Timer-0 ] DEBUG HttpConnection - Open connection to localhost:8080
2011-08-03 19:09:45,500 [Timer-0 ] DEBUG HttpConnection - enter HttpConnection.closeSockedAndStreams()
2011-08-03 19:09:45,501 [Timer-0 ] DEBUG HttpMethodDirector - Closing the connection.
2011-08-03 19:09:45,501 [Timer-0 ] DEBUG HttpConnection - enter HttpConnection.close()
2011-08-03 19:09:45,501 [Timer-0 ] DEBUG HttpConnection - enter HttpConnection.closeSockedAndStreams()
2011-08-03 19:09:45,502 [Timer-0 ] INFO HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
2011-08-03 19:09:45,514 [Timer-0 ] DEBUG HttpMethodDirector - Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at java.net.Socket.<init>(Socket.java:392)
at java.net.Socket.<init>(Socket.java:266)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at net.sourceforge.cruisecontrol.report.BuildLoopStatusReportTask.run(BuildLoopStatusReportTask.java:90)
at net.sourceforge.cruisecontrol.report.BuildLoopStatusReportTask.run(BuildLoopStatusReportTask.java:75)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
2011-08-03 19:09:45,525 [Timer-0 ] INFO HttpMethodDirector - Retrying request
我在我創建了一個新的用戶帳戶運行CruiseControl和我已經設置了相同的權限在Ubuntu主帳號我的設置。 只是爲了看看它是否是防火牆問題,我嘗試使用默認設置的Jetty 7,並且能夠在端口8080上連接。
任何幫助表示讚賞。謝謝.....
尼拉吉