CF9 on Mac Book Pro Connection refused when accessing 127.0.0.1
Hi,
I have searched everywhere to find a solution to my problem. It is very annoying and seems easy to fix.
I have installled CF 9 64 bit version standalone server in developer mode on a Mac Book Pro Mac OS X 10.7.2, with:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
I have not installed any cf9 hot-fix yet.
Installation went fine after shutting down the firewall and the starting it after the installation.
I have access to: http://127.0.0.1:8500/CFIDE/administrator/index.cfm
When I try to go to http://127.0.0.1 or localhost I got this error (cfserver.log😞
12/18 09:36:27 [web-1] INFO I/O exception (java.net.ConnectException) caught when processing request: Connection refused
I have checked the hosts file and it looks correct.
If I can run the administrator there shouldn't really be any problem with the rest, and I have no other errors in the cfserver.log.
Any suggestions is appreciated..
UPDATE:
I have now updated to cf9 version 9.0.1. Still the same problem. Server is running, I can access the administrator but I got connection refused on localhost or 127.0.0.1.
More from cfserver.log:
| Starting Macromedia JRun 4.0 (Build 108858), coldfusion server | |
| 625 | 12/18 12:26:29 warning Unable to open /Applications/ColdFusion9/runtime/lib/license.properties |
| 626 | 12/18 12:27:58 info JRun Naming Service listening on *:2932 |
| 627 | 12/18 12:27:59 error Connection refused to host: 15.259.28.79; nested exception is: |
| 628 | java.net.ConnectException: Connection refused |
| 629 | [1]java.net.ConnectException: Connection refused |
| 630 | at java.net.PlainSocketImpl.socketConnect(Native Method) |
| 631 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) |
| 632 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) |
| 633 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) |
| 634 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) |
| 635 | at java.net.Socket.connect(Socket.java:529) |
| 636 | at java.net.Socket.connect(Socket.java:478) |
| 637 | at java.net.Socket.<init>(Socket.java:375) |
| 638 | at java.net.Socket.<init>(Socket.java:189) |
| 639 | at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) |
| 640 | at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) |
| 641 | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) |
| 642 | at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) |
| 643 | at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) |
| 644 | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110) |
| 645 | at jrun.servlet.session.SessionReplicationService_Stub.getRemoteServerName(Unknown Source) |
| 646 | at jrun.servlet.session.SessionReplicationService.start(SessionReplicationService.java:53) |
| 647 | at jrun.servlet.ServletEngineService.createSessionReplicationService(ServletEngineService.java:130) |
| 648 | at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112) |
| 649 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
| 650 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
| 651 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
| 652 | at java.lang.reflect.Method.invoke(Method.java:597) |
| 653 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) |
| 654 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) |
| 655 | at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) |
| 656 | at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) |
| 657 | at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) |
| 658 | at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) |
| 659 | at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) |
| 660 | at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705) |
| 661 | at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460) |
| 662 | at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312) |
| 663 | at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260) |
| 664 | at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87) |
| 665 | at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46) |
| 666 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
| 667 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
| 668 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
| 669 | at java.lang.reflect.Method.invoke(Method.java:597) |
| 670 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) |
| 671 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) |
| 672 | at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) |
| 673 | at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) |
| 674 | at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) |
| 675 | at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) |
| 676 | at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) |
| 677 | at jrunx.kernel.JRun.startServer(JRun.java:575) |
| 678 | at jrunx.kernel.JRun.<init>(JRun.java:493) |
| 679 | at jrunx.kernel.JRun$1.run(JRun.java:346) |
| 680 | at java.security.AccessController.doPrivileged(Native Method) |
| 681 | at jrunx.kernel.JRun.start(JRun.java:343) |
| 682 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
| 683 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
| 684 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
| 685 | at java.lang.reflect.Method.invoke(Method.java:597) |
| 686 | at jrunx.kernel.JRun.invoke(JRun.java:180) |
| 687 | at jrunx.kernel.JRun.main(JRun.java:168) |
| 688 | [0]java.rmi.ConnectException: Connection refused to host: 95.209.78.179; nested exception is: |
| 689 | java.net.ConnectException: Connection refused |
| 690 | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) |
| 691 | at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) |
| 692 | at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) |
| 693 | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110) |
| 694 | at jrun.servlet.session.SessionReplicationService_Stub.getRemoteServerName(Unknown Source) |
| 695 | at jrun.servlet.session.SessionReplicationService.start(SessionReplicationService.java:53) |
| 696 | at jrun.servlet.ServletEngineService.createSessionReplicationService(ServletEngineService.java:130) |
| 697 | at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112) |
| 698 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
| 699 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
| 700 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
| 701 | at java.lang.reflect.Method.invoke(Method.java:597) |
| 702 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) |
| 703 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) |
| 704 | at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) |
| 705 | at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) |
| 706 | at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) |
| 707 | at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) |
| 708 | at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) |
| 709 | at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705) |
| 710 | at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460) |
| 711 | at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312) |
| 712 | at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260) |
| 713 | at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87) |
| 714 | at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46) |
| 715 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
| 716 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
| 717 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
| 718 | at java.lang.reflect.Method.invoke(Method.java:597) |
| 719 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) |
| 720 | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) |
| 721 | at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) |
| 722 | at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) |
| 723 | at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) |
| 724 | at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) |
| 725 | at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) |
| 726 | at jrunx.kernel.JRun.startServer(JRun.java:575) |
| 727 | at jrunx.kernel.JRun.<init>(JRun.java:493) |
| 728 | at jrunx.kernel.JRun$1.run(JRun.java:346) |
| 729 | at java.security.AccessController.doPrivileged(Native Method) |
| 730 | at jrunx.kernel.JRun.start(JRun.java:343) |
| 731 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
| 732 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
| 733 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
| 734 | at java.lang.reflect.Method.invoke(Method.java:597) |
| 735 | at jrunx.kernel.JRun.invoke(JRun.java:180) |
| 736 | at jrunx.kernel.JRun.main(JRun.java:168) |
| 737 | Caused by: java.net.ConnectException: Connection refused |
| 738 | at java.net.PlainSocketImpl.socketConnect(Native Method) |
| 739 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) |
| 740 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) |
| 741 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) |
| 742 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) |
| 743 | at java.net.Socket.connect(Socket.java:529) |
| 744 | at java.net.Socket.connect(Socket.java:478) |
| 745 | at java.net.Socket.<init>(Socket.java:375) |
| 746 | at java.net.Socket.<init>(Socket.java:189) |
| 747 | at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) |
| 748 | at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) |
| 749 | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) |
| 750 | ... 46 more |
Message was edited by: Molnfront
