No. of connections on a port--need a count

Hi,
I want a program using that i have to know the count of no of connections are opened on a particular port.
Ex/- tomcat is running on 8080 and i opened in 3 browsers http://localhost:8080.
Is there any way that i can find the no of connections opened...
Thanks,
Babu

I want a program using that i have to know the count
of no of connections are opened on a particular port.
Ex/- tomcat is running on 8080 and i opened in 3
browsers http://localhost:8080.
Is there any way that i can find the no of
connections opened...netstat -na|grep "[\.:]8080.*ESTABLISHED"|wc -l

Similar Messages

  • HT5219 Which keys to I need to switch my macbook air display to an external thunderbolt display connected via mini port?

    Which keys to I need to switch my macbook air display to an external thunderbolt display connected via mini port?

    Which keys to I need to switch my macbook air display to an external thunderbolt display connected via mini port?
    If you just bought the external Thunderbolt Display, you may be able to return it for the LED Display.

  • Error in fax set up - connected to wrong port, although i'm not

    Hi
    I'm not a technical whizz kid...
    Trying to set up my all in one to send faxes (I only need to be able to send the odd fax).
    On the test I'm getting:
    Fax hardward test PASS
    Fax connected to active telephone wall jack PASS
    Phone cord connected to correct port on fax FAIL.
    Below that is says that the phone cord is connected to 2-ext on the bank of my device and that i should change it to 1-Line.  As I said, I'm not whizz kid, but it is defintiely connected to 1-Line.  I even tried switching them and I got fail on point 2, so I put it back in 1-Line but it's still not working.
    I'm struggling to find any help with this particular error.
    thanks
    Mig 

    Hi @MigGilbert,
    Welcome to the HP Support Forums!  I see you would like to set up the Fax feature on your HP Officejet 8610, everything passes when you run the test except the correct port connection.
    I would like you to start troubleshooting here: Cannot Send or Receive Faxes
    Please let me know the outcome, are you now able to send a Fax?
    I hope to hear from you soon.
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • What are the settings required to block a particular IP to make connection on particular port no running on another IP?

    Problem:
    -   What are the settings required to block a particular IP to make connection on particular port no running on another IP?
    Environment:
    Operating System            : - Windows XP Service
    Pack 1
    System type                     : - 32 – bit Operating System
    Description: - We
    have requirement to block Port access from particular IP. It is specific requirement for a machine.
    We have service which is running on
    Server with IP: - 10.14.15.116 on
    Port Number 3366 and we need to
    block Client Machine IP: - 10.14.15.114 to make
    any connections with server on this port. Not even client machine
    should be able to telnet on server on port 3366.
     I
    will be really thankful.
    For any kind of input which can assist us to complete the requirement.

    Does it allow in same way with firewall setting in Windows Server 2008?
    I will read in details shared link, but as a matter of urgency; kindly let us know, if we can follow some concise instruction to do above activity.
     I
    will be really thankful

  • What are the ports need to open at firewall

    What are the ports need to open at firewall to access Oracle EBS R12 through internet?

    All these following ports need to open at firewall??
    Database Port : 1521
    RPC Port : 1626
    Web SSL Port : 4443
    ONS Local Port : 6100
    ONS Remote Port : 6200
    ONS Request Port : 6500
    Web Listener Port : 8000
    Active Web Port : 8000
    Forms Port : 9000
    Metrics Server Data Port : 9100
    Metrics Server Request Port : 9200
    JTF Fulfillment Server Port : 9300
    MSCA Server Port : 10200-10205
    MCSA Telnet Server Port : 10200,10202,10204
    MSCA Dispatcher Port : 10800
    Java Object Cache Port : 12345
    OC4J JMS Port Range for Oacore : 23000-23004
    OC4J JMS Port Range for Forms : 23500-23504
    OC4J JMS Port Range for Home : 24000-24004
    OC4J JMS Port Range for Oafm : 24500-24504
    OC4J AJP Port Range for Oacore : 21500-21504
    OC4J AJP Port Range for Forms : 22000-22004
    OC4J AJP Port Range for Home : 22500-22504
    OC4J AJP Port Range for Oafm : 25000-25004
    OC4J RMI Port Range for Oacore : 20000-20004
    OC4J RMI Port Range for Forms : 20500-20504
    OC4J RMI Port Range for Home : 21000-21004
    OC4J RMI Port Range for Oafm : 25500-25504
    DB ONS Local Port : 6300
    DB ONS Remote Port : 6400
    Oracle Connection Manager Port : 1521

  • Failed while creating virtual Ethernet switch. Failed to connect Ethernet switch port

    Hello Folks
    I am completely stuck with the configuration of my virtual networks. I have one logical switch left to add to one of my Hyper-V 2012 R2 hosts when I started getting the error below when I try to add logical switches to either Hyper-V Host. I have been using
    the document. 'Hybrid Cloud with NVGRE (Cloud OS)' to implement the virtual networking. Basically using the exact configuration that is in the document. I have added the PA Logical Network and the Network adapters and added the logical switch for it to my
    hyper-v 2012 R2 host and everything was fine. I am now trying to add my ISCSI Logical Switch to the host and this is the error I get. My other Hyper-V host I get this error for any logical switch I am trying to add. Can someone help me with this error. I haven't
    been able to find any information about it.
    Also a some quick info on tracing an error like this so I can figure out what is causing it.
    Thsi is my configuration so far
    So as far as I know everything is peachy untill the error below. Dead stop now
    Error (12700)
    VMM cannot complete the host operation on the 08-NY-VHOST01.accounts.ccac-ont.ca server because of the error: Failed while creating virtual Ethernet switch.
    Failed to connect Ethernet switch port (switch name = '******', port name = '88C16766-ED02-4AC0-8CD7-660AC9D424DD', adapter GUID = '{FAF431D8-0124-4E40-BB3B-9234BAA02973}'): The system cannot find the file specified. (0x80070002).
    Unknown error (0x800b)
    Thank you for your time
    Christopher
    Christopher Scannell

    notice your GUID?  you may want to consider ensuring that is the same GUID associated in your database.  Sometimes during data corruption theres a smidge of a chance your sql database kind of either pulls old guids esp if this was reverted to snapshot
    without it being powered off etc.  
    I would try that first.  then i would consider if you get to configure that with your current liscense associated with the host.  I would need way more info to help any further

  • Connect iMac MiniDisplay port to VGA or composite projector, PLEASE!??

    I have an iMac and an Epson Powerlite 77c projector I am wanting to link up. I need to go from the minidisplay port in the back of the imac to either composite or vga (female) connection. Apple has a minidisplay to vga adapter which i'm assuming will work.
    Epson Projector connections - VGA (female,) Video and audio in (composite), S-video
    iMac display connections- Mini display port
    Would it be better to use vga or composite for watching movies and using the computer through the projector?
    And...if i am thinking of the correct cable i'm also going to need an extension to actually get to the monitor. Since the minidisplay to vga cable is female and so is the vga input on the projector, Is there such thing as male-male vga cable and would it send the signal properly from the imac to the projector?
    Is there any other way to link these two devices up? Component switch or wireless transmitter?
    Thanks

    Apple has a minidisplay to vga adapter which i'm assuming will work.
    Yes, it will work fine!
    Would it be better to use vga or composite for watching movies and using the computer through the projector?
    The iMac is not able to connect via composite cable at all. VGA, Mini Display Port, and HDMI (through adapter) are the only types of cabling that will work. Keep in mind that composite is the absolute WORST video quality you could hope for. Here is the scale from worst to best...
    Composite, S Video, Component, VGA, DVI/HDMI/MDP (these last 3 are essentially the same quality)
    Is there such thing as male-male vga cable and would it send the signal properly from the imac to the projector?
    Yes, they are extremely common, and it will work fine. I would be surprised if there wasn't an extra cable of this sort already in the projector bag. It is standard gear for all of my office's projector sets.
    Is there any other way to link these two devices up? Component switch or wireless transmitter?
    The best connection you can make with the powerlite 77c is through VGA.

  • Is there way to share Air-Port Wi-Fi connection through ethernet port?

    I was wondering if anyone could help me out with this, I have wireless network in the building, and is there way to configure Mac Mini to share Air-Port Wi-Fi connection through ethernet port (feed Vonage adapter)?

    Have you actually shared wi-fi to ethernet on a Mac? I ask because it is not usually that simple, it is a more complicated configuration. Most folks who do it the way you described get a self assigned IP and nothing connects.
    See my comment here;
    http://discussions.apple.com/thread.jspa?messageID=12585788&#12585788
    I have a Vonage phone adapter and Vonage does not provide the info that you need to hand configure these boxes, I have tried in the past with the one I have with a US phone number from here in Mexico.
    Dah•veed

  • Error in people search when connecting through ldaps port

    Hello,
    I am getting following error when doing windows people search through ldaps port(636).
    The specified directory service could not be reached.
    The service may be temporarily unavailable or the server name may be incorrect.
    It is working fine when i am connecting thro ldap port.
    Could any one help me in this regard
    -mala

    Just setting the port in the console does not enable SSL. Do you have a certificate installed on that instance? If so, does your ldap client have that certificate (or its CA certificate) as a trusted cert? If not, you may need to run certutil to create/update the client certificate database.

  • Does router telnet port need to be open?

    We are a small office whose computers connect to the internet through a Netopia Cayman series router (ethernet). No IT guy ---it was set up by "that phone guy" several years ago who said the firewall was set up. can't find any written manuals at the moment.
    when I got my new iMac I decided to check out the firewall at work from home. Port scan said that port 23-telnet was open. I telnetted to the ip address and guessed the login info on the third try (wasn't changed from what came with).
    1. I know i need to change the password -- but do ieven need to have the port open? We have no need to access the office network from outside. And how do I close it? The firewall is operating in something called ClearSailing mode.
    2. Because i don't have a manual, I am wandering around inside the router trying to figure out what all the terms mean without hurting anything. How do I determine whether port forwarding was ever activated?
    3. I checked the log. Entries of the following types appear a lot. Do they indicate anything untoward has been happening?
    at Nov 24 19:07:04 2007(UTC) L4 HTTP: "" host 218.59.122.81 logging out (timing out)
    Sat Nov 24 19:07:34 2007(UTC) L4 HTTP: "" host 75.45.85.129 logging out (timing out)
    Sat Nov 24 22:07:04 2007(UTC) L4 HTTP: "" host 75.45.85.129 logging out (timing out)
    Tue Nov 27 20:09:58 2007(UTC) L4 e582 SNMP: incoming packet with unknown community: "public"
    Tue Nov 27 20:10:01 2007(UTC) L4 e582 SNMP: incoming packet with unknown community: "public"
    Tue Nov 27 20:46:18 2007(UTC) L4 e582 SNMP: incoming packet with unknown communi
    and
    un Oct 28 05:36:04 2007(UTC) L4 ICMP: Dest Unreachable Net Unreachable, LOCAL source xx.xx.xx.xx:2228 (TCP), original dest 85.195.157.234:5306
    Sun Oct 28 23:48:56 2007(UTC) L4 ICMP: Dest Unreachable Port Unreachable, LOCAL source xx.xx.xx.xx:30885 (UDP), original dest 196.192.109.33:1026
    Sun Oct 28 23:48:56 2007(UTC) L4 ICMP: Dest Unreachable Port Unreachable, LOCAL source xx.xx.xx.xx:30878 (UDP), original dest 196.192.109.26:1026
    The xx.xx.xx.xx represents the office external ip address(you can log into the router at this address)
    4. Where do i go to educate myself on some of this? ( Back to university is not the right answer )

    Does the port need to be open? yes - otherwise you have no way of managing the router.
    However, does it need to be open to anyone, anywhere? absolutely not.
    The port should be open only to people on the internal network, and not accessible to random internet users.
    Usually there is some option to configure that within the router, but you'd need the router documentation to be able to determine the specific commands. What you need to ensure is that you don't lock out the admin access altogether since then you'd be stuck.
    As for the logs, it's hard to tell. The HTTP lines could indicate remote users accessing the router via HTTP (did you check whether the router has a HTTP interface, too?). Those IP addresses don't translate to known web sites, so it's unlike that they are outgoing connections. If they are incoming connections then you need to lock down the web access port in the same way as telnet, above.
    The SNMP could be a problem, depending on where the request is coming from.
    The chances are it's some automated probe looking for systems to compromise (in which case you should shut down SNMP as well as HTTP and telnet).
    SNMP has valid uses, but if you're not using it right now you won't be missing anything by turning it off.
    Finally, the 'Dest Unreachable' messages aren't likely to be a problem -since they're sourced from the router, that implies those were connections initiated from inside the network, but that were unable to reach their target. I think the other issues are of more concern.

  • What is the Firewall ports need to be open for TED distribution working properly

    Hi ,
    May I know what ports need to be open at the firewall in order the TED
    distribution to be working properly.
    I suspect it is firewall problem because the inventoried server which
    is install at the same segment with the TED distributor server, I manage to
    push the policy and collect inventory data , but for those inventoried
    server which is install at the remote site, I fail to push the TED into the
    server. At the TED distributor server, the log say that computer refused
    connection. And there is a firewall in between the TED distributor server
    and the remote inventoried server.
    Thank you.
    Steven Foong

    TED is using 1229
    Ron
    <[email protected]> wrote in message
    news:X7lAe.2193$[email protected]..
    > Hi ,
    >
    > May I know what ports need to be open at the firewall in order the
    TED
    > distribution to be working properly.
    >
    > I suspect it is firewall problem because the inventoried server which
    > is install at the same segment with the TED distributor server, I manage
    to
    > push the policy and collect inventory data , but for those inventoried
    > server which is install at the remote site, I fail to push the TED into
    the
    > server. At the TED distributor server, the log say that computer refused
    > connection. And there is a firewall in between the TED distributor server
    > and the remote inventoried server.
    >
    > Thank you.
    >
    >
    > Steven Foong

  • Connecting Two Lx Port

    Hi All,
    Can i connect two Lx ports in two different switches in the same room using a SC-SC Single mode fiber Patch cord ? Will i be getting any bit rate error?
    Regards,
    R. Rajaraman

    If you connect two LX ports with a jumper, you *better* have some attenuation inline, or you risk seriously damaging the receiver in each of the transceiver modules.
    How much attenuation? You need to look at the spec for the receiver, look at the spec for the transmitter, and make up the difference with an attenuator (or two or three ....).
    Bit errors? Oh yes, you bet .... think about someone putting a kilowatt of audio next to your head and screaming directions to you through that system ..... do you think you'd hear them clearly?
    Same thing ....
    Summary:
    You are connecting systems made to drive a signal for many miles .... you have to drop the signal to make it look like it's gone through many many miles of media.
    Good Luck
    Scott

  • HT203052 what incoming ports need to be open?

    My windows pc at work does not get updates. Outgoing is ok. I am sure its our firewall, but what ports need to be open?

    Hi there Brett Higginbotham,
    I see that you have done a little troubleshooting and determined that the ports may not be the issue that is preventing you from connecting to the iCloud Drive. You may want to take a look at the following link to help you continue troubleshooting, as it may resolve the issue from a security software standpoint:
    iCloud: Making sure that iCloud works with security software in Windows - Apple Support
    http://support.apple.com/en-is/HT203586
    You may also find some more helpful information and links regarding this issue in the following article:
    Get help using iCloud Drive - Apple Support
    http://support.apple.com/en-is/HT203052
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • Recently bought airport Extreme and have connected the device to the modem. WIFI works. However when I connect the LAN port to a switch I do not see the LAN printer and my NAS. Which setting do I miss?

    I have installed my Airport Extreme and have conencted it directly to a modem. WIFI works fine. However I do not see my LAN network (printer. NAS,..).
    Analysis:
    Scen#1: When I connect the LAN port of the Airport Extreme to a switch (as input) and connect the other LAN devices also to the switch, those LAN devices do not have access to the internet. Also connecting the iPAD with WIFI to the Airport Extreme I cannot find my LAN printer and other devices.
    Scen#2: When I connect the LAN port of the Airport Extreme to a router X (as input) and connect the router X to the same switch, and the LAN devices to the switch, those LAN devices do have access to the internet. Also connecting the iPAD with WIFI to the router X I can find my LAN printer and other devices in the LAN network.
    Question what has impacted the behaviour of the Airport Extreme, not to detect the devices in the LAN network. Why is the use of a switch directly behind the Airport Extreme not working (no internet access for the other devices and Airport Extreme is not the basis station for the LAN network)?

    Your scenario #1 is a correct configuration and should work. It seems as though your Extreme is not acting as a router as I believe you intend.
    Most likely, you need to reset your modem. Power it down and let it rest for a few moments. Some need longer than others. Then, I recommend you "hard reset" your Extreme (see below) and configure it again, after the modem has been reset. From then on do not change what is connected to your modem without powering it down first.
    Once configured, confirm your Extreme's wireless network works as expected and that your iPad and every other wireless device can load web pages. Then, connect the printer directly to one of the Extreme's LAN ports and confirm that it works as well. After that it should work equally well with a switch between it and the Extreme, as should every other wired device connected to the switch. This assumes your switch is an unmanaged device requiring no specific configuration.
    Scenario #2: Having a router connected downstream of another is not a normal configuration, so don't pursue that as a solution. It will only distract you from determining the problem. If you want to repurpose Router X as another device do so only after everything else is working to your satisfaction.
    To "hard reset" an AirPort Base Station: make sure it's powered up, then press and hold its tiny reset button and keep it depressed for five to ten seconds, long enough for its LED to flash amber rapidly. Release the reset button. Then, the LED will glow amber steadily for about a minute. Then, it will flash amber, slowly, about once every second or two, waiting for you to configure it with AirPort Utility.

  • How to make none root user to connect to TCP Port  (web ports)

    how to make none root user (any user)
    to connect to TCP Port 80 or port 81 or any port less than 1024
    cause i have web server i want to run and stop service with none root userand on port 80 and port 81
    can you help me and give me steps

    I believe Solaris 9 also has RBAC control. If so then all you need to do is present the uid with the PRIV_NET_PRIVADDR privilege. See the privielegs(5) manpage for more information on the subject.
    This privilege will allow the userid to bind to ports < 1024. You can give a user this privilege either by using usermod (you will probably need the auth_attr(4) manpage as well) after which you need to login again. Or you can try using ppriv to modify the privileges on the users shell.

Maybe you are looking for