Port 80 connection refused on localhost

Hello

I am trying to solve a problem that I am having with the virtual hosts in Apache 2.4 on one of my two Macs, both running El Capitan. On a Mac, use virtual hosts without a hitch on another, I get connection refused.

↪ curl -I -L test.dev 15:51:08
HTTP/1.1 200 OK
Date: Tue, 08 Dec 2015 14:51:17 GMT
Server: Apache/2.4.16 (Unix)
Last-Modified: Tue, 08 Dec 2015 08:52:04 GMT
ETag: "c-5265f1673f500"
Accept-Ranges: bytes
Content-Length: 12

Content-Type: text/html

vs.

↪ curl -I -L test.dev 15:51:01
curl: (7) Failed to connect to test.dev port 80: Connection refused

My question is not on Apache or the configuration of the vhosts, / etc/hosts, etc. All that is not the issue here. The only difference between the two Macs I can find is in the Port Scan output. The right seems to have port 80 open:

Port Scanning host: 127.0.0.1

Open TCP Port: 22 ssh
  Open TCP Port: 53 domain
  Open TCP Port: 80 http
  Open TCP Port: 88 kerberos
  Open TCP Port: 445 microsoft-ds
  Open TCP Port: 548 afpovertcp
  Open TCP Port: 631 ipp

СКАНИРОВАНИЕ ПОРТОВ ЗАВЕРШЕНО...

While it is not bad:

Port Scanning host: 127.0.0.1

Open TCP Port: 88 kerberos
  Open TCP Port: 445 microsoft-ds
  Open TCP Port: 548 afpovertcp
  Open TCP Port: 631 ipp
Сканирование портов завершено…

Could someone explain why port 80 is not on this machine and how do I enable it?

All the best,

Tench

To make sure that port 80 is open for TCP on all interfaces, I added

pass in proto tcp from any to any port 80 

à /etc.pf.conf . Reloading of pfctl(8) didn't quite do the trick, but did a reboot. Now, the port appears as open in the port scan, and my virtual hosts are served as it should.

Tags: Mac OS & System Software

Similar Questions

  • ' Could not connect: unable to connect to the host localhost: connection refused "on variuos orders

    On ESX 4.0.0 Update 1.

    When I run a command like "vim-cmd/hostsvc/hostsummary | "grep inMaintenanceMode" or vimsh - n - e/hostsvc/maintenance_mode_enter ' / 'vimsh - n - e
    "/ hostsvc/maintenance_mode_exit" all returned the same error message ' could not connect: unable to connect to the host localhost: connection refused.

    I checked the checked the file /etc/resolv.conf Bed & Breakfast.

    I am able to ssh on the server as well as the use of WinSCP without any problem.

    I can connect with the VI Client also without problem.

    Any ideas?

    The problem has been resolved.

    The fix:

    =====

    # vimsh-e - n/hostsvc/hostsummary | grep inMaintenanceMode

    Using the libcrypto, version 90809F

    inMaintenanceMode = false,

    # vim-cmd/hostsvc/hostsummary | grep inMaintenanceMode

    inMaintenanceMode = false,

    Rationality for the problem is these commands (vim - FCM or vimsh) were unable to communicate due to lack of xinetd process.

    # ps - ef | grep-i xinet

    root 11527 25978 0 04:30 pts/0 00:00:00 grep-i xinet

    # service xinetd restart

    #

    # Service xinetd status

    #

    # service xinetd start

    # Service xinetd status

    # /etc/init.d/xinetd ls

    /etc/init.d/xinetd

    / * But NETWORK seems to be normal on the server * /.

    # cat /etc/resolv.conf

    nameserver 172.26.6.21

    nameserver 172.25.6.51

    # ifconfig

    Lo encap:Local Loopback link

    INET addr:127.0.0.1 mask: 255.0.0.0

    RACE of LOOPING 16436 Metric: 1

    Dropped packets: 6053620 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 6053620 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:0

    RX bytes: 2021352939 (1.8 GiB) TX bytes: 2021352939 (1.8 GiB)

    ppp0 link encap:Point - to-Point Protocol

    INET-addr:164.152.87.72 P - t - P:164.152.87.64 mask: 255.255.255.255

    Up POINTOPOINT RUNNING NOARP MULTICAST metric MTU:1500: 1

    Fall of RX packets: 208 errors: 2:0 overruns: 0 frame: 0

    Dropped packets TX: 205 errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:3

    RX bytes: 18165 (17.7 KiB) TX bytes: 22314 (21.7 KiB)

    vmnic100200 Link encap HWaddr 00: 1B: 21:6 A: C9:C4

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 1383869 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 1382815 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 90351869 (86.1 MiB) TX bytes: 92106912 (87.8 MiB)

    Interruption: 97

    vmnic100201 Link encap HWaddr 00: 1B: 21:6 A: C9:C5

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 24239456 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 23905751 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 2078777971 (1.9 GiB) TX bytes: 2226266024 (2.0 GiB)

    Interruption: 113

    vmnic100600 Link encap HWaddr 00:25:5 C: 2: 75:30

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 13076343 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 5226061 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 1292112365 (1.2 GiB) TX bytes: 1224021381 (1.1 GiB)

    Interruption: 129

    vmnic100601 Link encap HWaddr 00:25:5 C: 2: 75:31

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 819469 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 770101 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 56287946 (53.6 MiB) TX bytes: 52499576 (50.0 MiB)

    Interruption: 137

    vmnic110200 Link encap HWaddr 00: 1B: 21:6 A: CA:44

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 1774795 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 1681079 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 142435399 (135.8 MiB) TX bytes: 135079293 (128.8 MiB)

    Interruption: 145

    vmnic110201 Link encap HWaddr 00: 1B: 21:6 A: CA:45

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 21079616 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 20688606 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 1859632344 (1.7 GiB) TX bytes: 1852761835 (1.7 GiB)

    Interruption: 161

    vmnic110600 Link encap HWaddr 00:25:5 C: 2: 75:32

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 39205375 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 21339531 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 32420064542 (30.1 GiB) TX bytes: 3709579479 (3.4 GiB)

    Interruption: 177

    vmnic110601 Link encap HWaddr 00:25:5 C: 2: 75:33

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 2922150 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 2110634 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 398811808 (380.3 MiB) TX bytes: 245899848 (234.5 MiB)

    Interruption: 185

    vswif0 Link encap HWaddr 00:50:56:41:76:EB

    INET addr:172.26.6.13 Bcast:172.26.6.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 109779 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 23715 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 10137604 (9,6 MiB) TX bytes: 21716347 (20.7 MiB)

    vswif1 Link encap HWaddr 00:50:56:40:30:F7

    INET addr:172.26.7.11 Bcast:172.26.7.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Fall of RX packets: 36515 errors: 0:0 overruns: 0 frame: 0

    Dropped TX packets: 4 errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 3702390 (3,5 Mio) TX bytes: 168 (168,0 b)

    vswif2 Link encap HWaddr 00:50:56:4 A: DF:1 B

    INET addr:172.26.8.11 Bcast:172.26.8.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Fall of RX packets: 20525 errors: 0:0 overruns: 0 frame: 0

    Dropped packets TX: 6 errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 2742990 (2.6 MiB) TX bytes: 252 (252.0 b)

    vswif3 Link encap HWaddr 00:50:56:4E:1E:24

    INET addr:172.26.9.12 Bcast:172.26.9.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Fall of RX packets: 26408 errors: 0:0 overruns: 0 frame: 0

    Dropped TX packets: 4 errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 3095970 (2.9 MiB) TX bytes: 168 (168,0 b)

    # / opt/ft/bin/ftsmaint lsVnd

    Virtual network device (VND) groups

    ===================================

    Status of group name

    --------------------------

    vSwitch0 ONLINE

    vSwitch1 ONLINE

    vSwitch2 ONLINE

    vSwitch3 ONLINE

    Members of the Group of VND

    =================

    Link Group Name status Interface link state speed

    --------------------------------------------------------------------------

    vmnic100200 vSwitch2 DUPLEX UP LINK 1000 Mb/s-FD

    vmnic100201 vSwitch3 DUPLEX UP LINK 1000 Mb/s-FD

    vmnic100600 vSwitch0 DUPLEX UP LINK 1000 Mb/s-FD

    vmnic100601 vSwitch1 DUPLEX UP LINK 1000 Mb/s-FD

    vmnic110200 vSwitch2 DUPLEX UP LINK 1000 Mb/s-FD

    vmnic110201 vSwitch3 DUPLEX UP LINK 1000 Mb/s-FD

    vmnic110600 vSwitch0 DUPLEX UP LINK 1000 Mb/s-FD

    vmnic110601 vSwitch1 DUPLEX UP LINK

    1000 mb/s-FD

    / * Further consideration on the problem of starting XINETD * /.

    Further examination shows that the xinetd is unable to start because he believed NETWORK unavailable.

    Starting xinetd uses the contents of the sysconfig file where there was an entry incorrect "NETWORKINcesv = yes". We have corrected this entry and restarted xinetd process.

    After this correction, xinetd is restarted, the system seems to be normal.

    # cat sysconfig

    NETWORKINcesv = yes

    HOSTNAME = Server.test .net

    GATEWAY = 172.26.6.1

    IPV6_AUTOCONF = no

    NETWORKING_IPV6 = no

    #

    # cat sysconfig

    Networking = yes

    HOSTNAME = Server.test .net

    GATEWAY = 172.26.6.1

    IPV6_AUTOCONF = no

    NETWORKING_IPV6 = no

    # ps - ef | grep-i xinet

    root 27977 25978 0 04:41 pts/0 00:00:00 grep-i xinet

    # service xinetd start

    [From xinetd: OK]

    # ps - ef | grep-i xinet

    root 28119 1 0 04:41?        00:00:00 xinetd - stayalive - pidfile /var/run/xinetd.pid

    root 28239 25978 0 04:42 pts/0 00:00:00 grep-i xinet

    #

    # service xinetd restart

    [Judgment of xinetd: OK]

    [From xinetd: OK]

    # vim-cmd/hostsvc/hostsummary | grep inMaintenanceMode

    inMaintenanceMode = false,

    # vimsh-e - n/hostsvc/hostsummary | grep inMaintenanceMode

    Using the libcrypto, version 90809F

    inMaintenanceMode = false,

    #

  • FTP connection refused with FTP client to open the port in the firewall ESX

    Hello.

    I just installed an esx 3.5 U4.    We have an FTP server where we all night to make a copy of all our VM.

    This ESX may not put the files in the FTP server... I open the FTP client port on the 'profile terms' - & gt; Firewall tab without problems and

    I can connect with the FTP server... but... I can't do a LS for example, can I change to a different folder, I try with passive mode works... but

    It does not work.

    FTP server works well because other ESX work with her, and I do my windows XP with the same user/pass login and it works...

    Any idea?

    Thank you very much

    # ftp 192.168.18.15

    Connected to 192.168.18.15 (192.168.18.15).

    Welcome to 220 xxxxxxxx

    Name (192.168.18.15:morado): vmbk

    331 please specify the password.

    Password:

    230 login successful.

    Remote system type is UNIX.

    Using the binary mode to transfer files.

    FTP & gt; Backup CD

    250 changed Directory successfully.

    FTP & gt; LS

    227 entry Passive Mode (192,168,18,15,72,91)

    FTP: connect: connection refused

    FTP & gt;

    Looks like the second TCP connection for file transfer (which is also used in the list of directories) from the client FTP on the server fell. Have you tried completely disabling the firewall with esxcfg-firewall - allowOutgoing (can try esxcfg-firewall - allowIncoming, although it should not be necessary in the passive FTP mode)? This command sets the iptables chains of ENTRY and EXIT to accept instead of the fall.

    I tried esxcfg-firewall - e ftpClient and it worked fine for me.

    You could also post your esxcfg-firewall OUTPUT string parameters - q.

  • MAF connection refused

    I work on the Jdeveloper/MAF 12.1.3 tutorial and have successfully tested my rest WebServices.

    Consuming web services REST-JSON in Mobile Applications with Oracle Mobile Application Framework

    I've successfully deployed my MAF base app both an Android device and the Android emulator. When I run the application, I get the below error:

    12-31 19:39:19.453: D/GVC (4898): [SEVERE - oracle.adfmf.framework - RestTransportLayer - readResponse] ERROR: REST Transport - read - javax.microedition.io.ConnectionNotFoundException: unable to connect to 127.0.0.1 on port 7101: java.net.ConnectException: connection refused

    I changed the 127.0.0.1 localhost - I test my Web service successfully from within JDeveloper, but when the MAF app connects, it gives the connection refused error above ideas?

    It was my firewall.

    The 10.0.2.2 didn't work.

    I finally allowed to access the device and it worked.

    Thank you all.

  • Why "connection refused to host" in registry.rebind ()?

    My TestBind0 (code below) program trying to find/create a registry and link a GPO.

    Find/create: it tests all first if there is already a record on that port; If this isn't the case, then it tries to create a.

    The program tries to find/create the registry on ports 40654, 50876 30321, 33445, 1099, in that order, until what he managed both to create the register, and bind the object.

    Why TestBind0 up at each attempt

    java.rmi.ConnectException: Connection refused to host: 192.168.1.64; nested exception is: 
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
         at TestBind0.tryPort(TestBind0.java:48)
         at TestBind0.main(TestBind0.java:21)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:519)
         at java.net.Socket.connect(Socket.java:469)
         at java.net.Socket.(Socket.java:366)
         at java.net.Socket.(Socket.java:180)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
         ... 6 more

    (Note: 192.168.1.64 is my localhost)

    in

    reg.rebind("TestBind0", obj);

    even when I specified - Djava.security.policy is all.policy, with the file all.policy in the current directory, containing

    grant {
      permission java.security.AllPermission;
    };
    

    The program is run using the command

    java -cp bin -Djava.security.policy==all.policy TestBind0

    Code:

    import java.rmi.*;
    import java.rmi.registry.*;
    import java.rmi.server.*;
    import java.util.*;
    
    public class TestBind0 extends UnicastRemoteObject implements Counter {
      private static final long serialVersionUID = 1L;
      protected int count;
    
      protected TestBind0() throws RemoteException {
        super();
        count = 0;
      }
      public static void main(String[] args) {
        List ports = Arrays.asList(40654, 50876, 30321, 33445, 1099);
    
        Integer successPort = null;
        for(int port : ports) {
          boolean success = tryPort(port);
          if(success) {
            successPort = port;
            break;
          }
        }
        System.out.println("successPort:" + successPort);
        System.out.flush();
      }
      public static boolean tryPort(int port) {
        Registry reg = null;
        try {
          reg = LocateRegistry.getRegistry(port);
        }
        catch (RemoteException e) {
          try {
            reg = LocateRegistry.createRegistry(port);
          }
          catch (RemoteException e1) {
          }
        }
        if(reg==null) {
          return false;
        }
        boolean success = false;
        try {
          TestBind0 obj = new TestBind0();
          reg.rebind("TestBind0", obj);   // line 48
          success = true;
        }
        catch (AccessException e) {
          e.printStackTrace();
        }
        catch (RemoteException e) {
          e.printStackTrace();
        }
        return success;
      }
      public int getCount() throws RemoteException {
        return count++;
      }
    }
    

    > It tests first if there is already a record on that port; If this isn't the case, then it tries to create a.

    It's back to the front. You should try to create one with LocateRegistry.createRegistry (), then if that fails, use LocateRegistry.getRegistry () on the registry you now know to exist.

    You assume that "getRegistry()" throws an exception if the registry does not exist. There is no that. He built just a draft of registry. It does nothing on the network at all.

  • Connection Refused - violation of policy

    Hello

    Install a new LRT224 and we see a lot of "Connection Refused - violation of policy" in the firewall log messages.  There seems to be several LAN addresses on the number of ports desintation ports 80 or 443 different public IPs (eth1).

    The Setup is with two FTTN WAN1 network as primary connections and WAN2 as backup (without load balancing).  Add access for port forwarding rules.  A couple of basic QoS rules for some IPs intranet (aren't those appearing in firewall logs).  Everything is by default/standard configuration.

    I've seen forums associated to the routers of the RV series and one for the LRT224 but without any solution.  Has there been any update to this?

    Thank you

    The case concerned a repeal builtin (domestic policy) of the "attack Split - TCP Handshake", obviously builtin with the LRT2x4 according to the messages displayed in the journal.

    Initialization of the session is postponed the message "Connection refused - violation of policy" indicates

    More details can be found here:

    TCP connection establishment procedure: the "Three-Way Handshake.

    If it's serious annooying can look for a way out (ignore) the check or the look of alternative measures.

    Hope this helps.

    Axel49

  • XMPP? net.rim.device.cldc.io.ippp.SocketBaseIOException: Connection refused: connect

    Hello

    My system is running under the power of Attorney and I confifured mds setting of Article number: DB-00047.

    After this adjustment, I am able to do the http connection.

    I have downloaded the open source XMPP from this link. and I'm doing the connection socket with my Gmail now, but through it throw net.rim.device.cldc.io.ippp.SocketBaseIOException: connection refused: exception, but when I add on the side of true device he throw "java.io.IOException: Peer refused the connection.

    final StreamConnection connection = (StreamConnection) Connector.open("socket://" + this.host + ":" + this.port, Connector.READ_WRITE);
    

    I also tried adding deviceside = 'true' and 'false' parameter but I got same result.please help where I am doing wrong or it is still problem of proxy that do not allow the socket connection. Thoughts or ideas is greatly appreciated.

    Thank you.

    Currently, the MDS - CS Simulator allows only proxies be set for straight HTTP connections.

    Kind regards

  • I'm unable to connect database of cloud of the trial, it gives connection refused error

    I am trying to connect to cloud trail oracle database using sql developer, I get the error message "connection refused".

    Service URL

    https://databasetrial5793-inexcelityglotrial51349.DB.US2.oraclecloudapps.com/Apex

    Username: Tes_user

    SFTP host: port sftp.us2.cloud.oracle.com 22

    username: us220585

    What version of sql developer are you helping and you use the "Cloud connect" correct?

  • vCO 5.5.2.1951762 getting connection refused when adding a vCenter

    I hope someone can help here.  We have two servers separate vCO using the same vCenter.  Both of them have problems connecting to the same vCenter.  If I try a different vCenter, no problem.  This should remove the vCO to the equation and prove that something is happening with the vCenter.  We've updated vCenter 5.5 2 updated about two weeks ago and have not had any problems until yesterday.  I wonder if this is the cause, and if anyone else has encountered this problem?

    Weirder still is, I am able to get a license of this same vCenter, who must use the same SOAP WS.

    Connectivity to the vCenter what API is confirmed and the DNS name resolves. I am able to pull down this wsdl with wget on the server of the vCO.

    SDK/vimService.wsdl

    This is recorded in the vCO in the vCenter admin page.

    Exception, ' java.net.ConnectException: connection refused '


    I see this in the logs on the vCO device configuration cataliana.out.


    com.vmware.vim.vmomi.client.exception.ConnectionException: java.net.ConnectException: connection refused

    at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:224)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:131)

    at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.sendCall (MethodInvocationHandlerImpl.java:533)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.executeCall (MethodInvocationHandlerImpl.java:514)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:302)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeFetch(MethodInvocationHandlerImpl.java:294)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:165)

    to com.sun.proxy. $Proxy62.getContent (unknown Source)

    at com.vmware.vmo.plugin.vi4.config.VlsiHelper.getServiceInstanceContent(VlsiHelper.java:294)

    at com.vmware.vmo.plugin.vi4.config.VlsiHelper.login(VlsiHelper.java:223)

    to com.vmware.vmo.plugin.vi4.config.VlsiHelper. < init > (VlsiHelper.java:159)

    at com.vmware.vmo.plugin.vi4.config.ConnectionTester.call(ConnectionTester.java:117)

    at com.vmware.vmo.plugin.vi4.config.ConnectionTester.call(ConnectionTester.java:18)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.net.ConnectException: connection refused

    at java.net.PlainSocketImpl.socketConnect (Native Method)

    at java.net.AbstractPlainSocketImpl.doConnect (unknown Source)

    at java.net.AbstractPlainSocketImpl.connectToAddress (unknown Source)

    at java.net.AbstractPlainSocketImpl.connect (unknown Source)

    at java.net.SocksSocketImpl.connect (unknown Source)

    at java.net.Socket.connect (unknown Source)

    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)

    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)

    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)

    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)

    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)

    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:111)

    ... 16 more

    Hello

    I meant to return and from what I've found on this.  I had this problem.  vCO does not use only TCP/443, but also TCP/80.  Our vCenter which was not has its port http TCP/81 value.  It was probably due to a conflict at installation time.  The person who installs to vCenter took a shortcut and changed the port.  It is all very well until you get to where I was.  Make sure that you use the standard ports in vCenter, and then try again.  This is what was causing my issue and was originally "Connection refused" on TCP/80.  I was about to start tcpdump to see what was going on until it has been.  Let me know and good luck.

    Mike

  • Users to push AD on Horizon - sync error - connection refused

    Hi all

    I'm Configuration Manager Application Horizon atm. I sent them both. OVF files, network settings, enabled with token etc all right.


    In the Setup Wizard that I have in my field, I can see my users when I filter and can select my group.

    The last step of the installation wizard is "pushing ahead".
    Unfortunately, it won't grow. I get the following errors:

    Push on the Horizon: synchronization of actions cannot be calculated at this time. Please try again later.

    And the menu alerts, I get this: "otherError: unable to complete sync due to a problem with the service: request failed: connection refused"

    On this picture you can see the Bell on the horizon, but I get the error ' can' sync actions... "
    instead of this form: http://letusgovirtual.com/wp-content/uploads/2012/06/push-to-Horizon.png

    I already opened the port 443 & 636 firewall, does not work. The name of my group is not with a space between.

    What Miss me? If someone can point me in the right direction, I would be very grateful.

    Please enter you.

    The service - will and the connector must trust each other certificates.  Best is to use a signed public certificate. In the menu of the console of the connector, you can download the cert of the AV service. This should make the trust service connector - goes.

    Set up certificates. is a little bit of work to be honest. You must build a certificate chain and save it as a file of keys to TC and then manually copy the keystore in the service - will.

    What do you mean hostname for the service - go? You should be able to use what you want. Personally, I often use horizon.domain.com or workspace.domain.com.

  • ERROR: ORA-01017: name of user and password invalid. connection refused

    Hi all

    I need your help.

    I have installed Oracle Audit Vault Server Release 10.2.3.2 in agent collection and Linux system in Windows system. Adding and start collecting DBAUD went fine however adding AGAIN collector back return errors when executing command avorcldb add_collector as follows

    [oracle@avsrv ~] $

    [oracle@avsrv ~] $ avorcldb add_collector - SrcName orcl nom_agent - avagent01 - colltype REDO - av Lugaopc:1521:orcl

    collector REDO_Collector for orcl source already exists

    the initialization of the REDO Collector

    ERROR: could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    ERROR: ORA-01017: name of user and password invalid. connection refused

    [oracle@avsrv ~] $

    Here are the contents of the avorcldb.log file

    09/09/13 16:58:44 [INFO] command add_collector treatment

    09/09/13 16:58:44 [INFO] treatment arg - FromName = orcl

    09/09/13 16:58:44 [INFO] treatment arg - nom_agent = avagent01

    09/09/13 16:58:44 [INFO] treatment arg - colltype = REDO

    09/09/13 16:58:44 [INFO] treatment arg - av = Lugaopc:1521:orcl

    09/09/13 16:58:44 [INFO] connect information: Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] connecting administration AV got using jdbc:oracle:oci:@AVDB

    09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select s.host |': ' | A1.num_value |': ' | avsys.av A2.char_value $attrvalue a1, a2 avsys.av$ attrvalue, avsys.av$ s source, avsys.av$ attrdef ad1, ad2 avsys.av$ attrdef where source_name =: 1 and a1.inst_id = s.source_id and a2.inst_id = s.source_id and a1.attr_id = ad1.attr_id and ad1.attr_name = 'PORT' and a2.attr_id = ad2.attr_id and ad2.attr_name = 'DB_SERVICE. '

    09/09/13 16:58:45 [INFO] using bind value orcl

    09/09/13 16:58:45 [INFO] Return value = Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] connect information: Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select to_char (source_id) in the avsys.av$ source where source_name =: 1

    09/09/13 16:58:45 [INFO] using bind value orcl

    09/09/13 16:58:45 [INFO] return value = 1

    09/09/13 16:58:46 [INFO] got the source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] bind Using REDO_Collector value

    09/09/13 16:58:46 [INFO] Return value = active

    09/09/13 16:58:46 [MESG] collector REDO_Collector for orcl source already exists

    09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] bind Using REDO_Collector value

    09/09/13 16:58:46 [INFO] Return value = active

    09/09/13 16:58:46 [MESG] initialization REDO Collector

    09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select the username of avsys.av$ source where source_name =: 1

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] Return value = AVSRCUSR1

    09/09/13 16:58:46 [INFO] as [ADM@AV] SQL execution {? = call avsys.dbms_audit_vault.reset_source_user (?)}

    09/09/13 16:58:46 [INFO] adding user password mask

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)

    09/09/13 16:58:46 [INFO] bind Using STREAMS_HEARTBEAT value

    09/09/13 16:58:46 [INFO] Return value = STREAMS_HEARTBEAT

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table streams_heartbeat

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table streams_heartbeat (src_dbname varchar2 (4000), job_number number, heartbeat_time timestamp)

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] declare dbs_name varchar2 (4000); start selecting rename in dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;

    09/09/13 16:58:46 [INFO] SQL execution as [USR@SRC] create or replace procedure update_heartbeat IS start update streams_heartbeat set heartbeat_time = (select systimestamp from double); commit; end;

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)

    09/09/13 16:58:46 [INFO] bind Using CAPTURE_RULES value

    09/09/13 16:58:46 [INFO] Return value = CAPTURE_RULES

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table capture_rules

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table capture_rules (nom_regle varchar2 (50), rule_scope varchar2 (6), rule_type VARCHAR2 (3), obj_name varchar2 (100))

    09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select Rename global_name

    09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select db_link in user_db_links where db_link =: 1

    09/09/13 16:58:46 [INFO] Using AVDB bind value. AVSRV

    09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV

    09/09/13 16:58:46 [INFO] the Execute SQL as database link [USR@SRC] drop "AVDB. AVSRV ".

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select the version of v$ instance

    09/09/13 16:58:46 [INFO] Return value = 11.2.0.1.0

    09/09/13 16:58:46 [INFO] creating DB link using AVDB. AVSRV, AVSRCUSR1, {avsrcusr_pwd}, Lugaopc, 1521, orcl

    09/09/13 16:58:46 [INFO] login as srcuser_ora01 to @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=Lugaopc) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    09/09/13 16:58:46 [INFO] output of SQLPlus

    09/09/13 16:58:46 [INFO]

    09/09/13 16:58:46 [INFO] Package created.

    09/09/13 16:58:46 [INFO]

    09/09/13 16:58:46 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] package body created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] Package created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] package body created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO] execution SQL like [USR@SRC] select distinct name of user_errors, whose name =: 1

    09/09/13 16:58:47 [INFO] bind Using DBMS_SRC_STREAMS_COLLECTOR value

    09/09/13 16:58:47 [INFO] Return value = null

    09/09/13 16:58:47 [ERROR] could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    09/09/13 16:58:47 [ERROR] ORA-01017: name of user and password invalid. connection refused

    java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)

    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)

    to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:546)

    to oracle.jdbc.driver.T2CConnection. < init > (T2CConnection.java:162)

    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)

    at java.sql.DriverManager.getConnection(DriverManager.java:525)

    at java.sql.DriverManager.getConnection(DriverManager.java:140)

    to oracle.av.avca.jdbc.JdbcConnection. < init > (JdbcConnection.java:87)

    at oracle.av.orcldb.DAO.initConnection(DAO.java:79)

    to oracle.av.orcldb.DAO. < init > (DAO.java:64)

    at oracle.av.orcldb.commands.AddCollector.setupCollector(AddCollector.java:746)

    at oracle.av.orcldb.commands.AddCollector.execute(AddCollector.java:230)

    at oracle.av.orcldb.Command.process(Command.java:89)

    at oracle.av.orcldb.Main.process(Main.java:118)

    at oracle.av.orcldb.Main.main(Main.java:132)

    I searched the forum at my best level without clear solution

    Concerning

    Sadik

    avorcldb add_collector - REDO SrcName orcl nom_agent - avagent01 - colltype - av Lugaopc:1521:orcl

    Specify the connection string to the Vault check server not in the source database



  • AMT-12564: TNS:connection refused

    Hi guru



    My Version of DB: 10 gr 2
    OS: Windows Server


    I am trying to load the text file using sql loader, already I don't get thi sproblem, but in the morning I'm geeting

    AMT-12564: refused TNS:connection error

    activate the trace listener


    where I get after each update of the title:


    August 31, 2012 14:35:50:921] nsbaddfl: entry
    [August 31, 2012 14:35:50:921] nsbaddfl: exit normal
    [August 31, 2012 14:35:50:921] nsbfr: exit normal
    [August 31, 2012 14:35:50:921] nsdo: nsctxrnk = 0
    [August 31, 2012 14:35:50:921] nsdo: exit normal
    [August 31, 2012 14:35:50:921] nsiocancel: entry
    [August 31, 2012 14:35:50:921] nsiofrrg: entry
    [August 31, 2012 14:35:50:921] nsiofrrg: exit
    [August 31, 2012 14:35:50:921] nsiocancel: exit
    [August 31, 2012 14:35:50:921] nsclose: transport of closing
    [August 31, 2012 14:35:50:921] nttdisc: entry
    [August 31, 2012 14:35:50:921] nttdisc: socket closed 396
    [August 31, 2012 14:35:50:921] nttdisc: exit
    [August 31, 2012 14:35:50:921] nsclose: global context departure (from slot 6) full
    [August 31, 2012 14:35:50:921] nsnadisc: entry
    [August 31, 2012 14:35:50:921] nsnadisc: no native service used - return
    [August 31, 2012 14:35:50:921] nsopenfree_nsntx: mplx_ht_nsgbu nlhthdel, ctx = fbba48 nsntx = fd4888
    [August 31, 2012 14:35:50:921] nsiocancel: entry
    [August 31, 2012 14:35:50:921] nsiofrrg: entry
    [August 31, 2012 14:35:50:921] nsiofrrg: exit
    [August 31, 2012 14:35:50:921] nsiocancel: exit
    [August 31, 2012 14:35:50:921] nsmfr: entry
    [August 31, 2012 14:35:50:921] nsmfr: 1632 bytes to 0xfd4888
    [August 31, 2012 14:35:50:921] nsmfr: exit normal
    [August 31, 2012 14:35:50:921] nsmfr: entry
    [August 31, 2012 14:35:50:921] nsmfr: 536 bytes to 0xfbba48
    [August 31, 2012 14:35:50:921] nsmfr: exit normal
    [August 31, 2012 14:35:50:921] nsclose: exit normal
    [August 31, 2012 14:35:50:921] nsredirect: exit (0)
    [August 31, 2012 14:35:50:921] nsbeqaddr: connect handshake is completed
    [August 31, 2012 14:35:50:921] nsbeqaddr: exit normal
    [August 31, 2012 14:35:50:921] nsbequeath: exit normal
    [August 31, 2012 14:35:50:921] nsglhe: exit
    [August 31, 2012 14:35:50:921] nsevwait: entry
    [August 31, 2012 14:35:50:921] nsevwait: 5 status or connections
    [August 31, 2012 14:35:50:921] nsevwait: 0 posted before the event (s)
    [August 31, 2012 14:35:50:921] nsevwait: waiting for the transport event (0-5)...



    Kindly suggest me what you think what's the problem

    my file details net sql like:

    SQLNET.log:

    sqlnet.ora # Network Configuration file: C:\oracle\product\10.1.0\db_1\network\admin\sqlnet.ora

    # Generated by Oracle configuration tools.



    SQLNET. AUTHENTICATION_SERVICES = (NONE)



    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    trace_level_server = 16

    trace_file_server = Server

    trace_directory_server = F:------.



    The listener file details are:

    LISTENER:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = tsiindia)

    (ORACLE_HOME = C:\oracle\product\10.1.0\db_1)

    (SID_NAME = tsiindia)

    )

    )



    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = tsiindia) (PORT = 1521))

    )



    TRACE_FILE_LISTENER = F:\LISTENERTEST.trc

    TRACE_DIRECTORY_LISTENER = F:\

    LOGGING_LISTENER = we

    TRACE_LEVEL_LISTENER = SUPPORT



    SQLNET.log error while loading:


    Fatal OR connect error 12500, connect to:

    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = tsiindia). (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = tsiindia) (CID = (PROGRAM=C:\oracle\product\10.1.0\db_1\bin\SQLLDR. (EXE) (Host = TSIINDIA) (User = Vijay)))



    VERSION INFORMATION:

    AMT for 32-bit Windows: release 10.1.0.2.0 - Production

    Windows NT TCP/IP for 32-bit Windows NT Protocol adapter: release 10.1.0.2.0 - Production

    Time: August 31, 2012 14:28:07

    Tracing not lit.

    AMT error struct:

    NS main err in code: 12564

    AMT-12564: TNS:connection refused

    NS secondary err code: 0

    NT main err in code: 0

    NT secondary err code: 0

    NT OS err code: 0


    Can anyone of you please suggest what may be the problem because after google I have changes to the listener as well as sqlnet .ora file file

    You are always able to telnet your host?

  • Connection to the machine to ESX4 Wizard fails with "connection refused".

    Environment: ESX 4 server, hosting VMware Studio 2.0 (final version), will deploy device created in the same ESX host.

    -


    In my profile generation, generation settings section, I chose VMware ESX/ESXi 4.x and entered the Connection Wizard...

    Host, Port, user, password fields are filled.

    Connection test fails with the following message is displayed:

    Failed: error connecting to the server " " https://x.x.x.x:443/sdk/vimService ': connection refused

    My initial inspection is that it is probably caused by the server proxy/ISA on our network. It is know to cause some problems with https connections and some browsers. I am not sure that it is the first cause, but this is my first guess.* *.

    There are balls that can confirm?

    Is it possible to force a non-secure http connection?

    No, it's not a way to connect by using http.

    Try the following:

    stop /etc/init.d/VAMI-SFCB

    http_proxy = / opt/vmware/sbin/vami-sfcbdhttp://your_proxy:proxy_port;

    Now, try the user interface.

    Vishwas

  • Overview of performance connection refused

    If you are using a remote (vClient) connection to vCenter server, why my proxy think information coming from localhost (127.0.0.1) and blocks the pretty graphics to appear? In other words, what happens behind the scenes when I hit the 'button' performance overview in vClient on my desk? (see the error message below)

    Unable to display Page - Web server refused the connection.

    Error code 10061: connection refused

    Background: the server you are trying to access has refused the connection with the gateway. This usually results from trying to connect to a service that is not active on the server.

    DATE: 09/09/2009

    Server: ISA039

    Source: Remote server

    I think for some reason VI client, try to access 127.0.0.1, but it is send to the proxy. It seems to use the IE proxy setting. If you use the manual configuration of the proxy, you can try to circumvent 127.0.0.1. If you use autodetect setting, you will need to get around to the isa server computer.

  • java.rmi.ConnectException: connection refused to host: Connection timed out

    OK, I get the dreaded java.rmi.ConnectException: connection refused to host: Connection timed out

    I've been Googling for solutions for a while and no success, although many people have been in this boat before.

    java.rmi.ConnectException: connection refused to host: 169.254.105.9; nested exception is:
    java.net.ConnectException: Connection timed out: connect

    I ping the server from the client. I can telnet to the 169.254.105.9 1099 very well. I have disabled all firewall, I think - although company policy is we have to run McAfee and seems to have no control over that. When I run the client and server on the same system using localhost everything works fine.

    Can anyone think of other things I could try to understand why my RMI does not connect? Are there diagnoses more I can try?

    Cheers, Eric

    System.setProperty call ("java.rmi.server.hostname", "150.247.94.130");

    has no effect. I call it on the side of the client and the server before making any calls to the RMI API. I always get

    Set it on the server only. That's what it's for. It touches what IP address is placed in the heel when exporting. If you need to call it before you build/export all remote objects, and that probably includes the registry.

Maybe you are looking for

  • AT200 - drop in brightness problems

    Hello world! Recently, I noticed that there is a problem with the brightness of my Tablet (AT200-100).When I use it for a while, the brightness begins to fall down by itself.Not because of the 'auto' function, because the ambient light continues to b

  • Satellite L30-115 - deleted TCP and FTP packets

    Hi all I have a Toshiba Satellite L30-115 and a DSL connection. I have a problem with my laptop running Win XP SP2 with AVG anti-virus. TCP and FTP packets are systematically deleted by Firewall setting or my system. I tried these tools that rewrite

  • Office Live add-in 1.5 update not necessary, but continually trying to update

    I have problems with the sequence of Microsoft Office Live Add-in 1.5 update. I use a 64 bit version of Windows 7.  I already had the updated Microsoft Windows service to start (to delay) at startup.  I changed it to start immediately at startup now.

  • Error code 0 x 80131107 must install net framework 2.0, Setup keeps failing.

    Original title: error code 0 x 80131107. I need to install net framework 2.0, installation keep fault. I need this to be able to install the software to my blackberry, please help

  • App ends suddenly all playing music

    There is this little bug, I got recently which, while listening to the music for half an hour or two, the Walkman application closes suddenly as if I stopped the music. He considered a bug like the app goes back to the very first song that I started