All ports in use?

I have some java code that connects to a host running on the same machine. The code works fine on my PC (Win2k) and on a laptop(NT), but doesn't on another PC(NT).
mySocketConnection = new Socket( hostAddr, hostPort );
throws an IOException for any port number I give it?? The hostAddr is correct (using other classes to get the machines IP address), so why isn't it working?
Any ideas? Thanks in advance.
Paul

if it helps, the getMessage() method of Exception returns
"host unreachable"...?

Similar Messages

  • List of All Ports in Use.

    Is there any way to know / obtain a list of all the ports in use for all the components of an Application Server?
    Thanks,
    Nirav

    hi
    search for "portlist.ini" file in the system
    best regards

  • What defaults Ports are used by UCM?

    Hi All,
    Could anyone please let me know what all ports are used by UCM and their purpose. Appreciate you help on this. Thank you
    Thanks & Regards,
    Ashok

    UCM:16200, IBR:16250, IPM:16000
    You should be able your ports easily if your run the WLS console (server:7001/console), search under Environment - Servers
    What's their purpose?
    Each application is a separate J2EE application deployed on an app server, listening on a different port. UCM is the content repository, IBR is a conversion server, IPM is a module designed for imaging

  • Query to get all ports assigned and used by EBS instance.

    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    Milan

    MILAN RATHOD wrote:
    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    MilanIn addition to the thread referenced above by Helios, please check the context files and (Oracle E-Business Suite R12 Configuration in a DMZ [ID 380490.1] -- F. List of Ports to Open in a DMZ Configuration).
    Thanks,
    Hussein

  • Using time capsule model A1409 and trying to use it as only backup. Already have Verizon wireless router. Do not know which cable port to use in back of time capsule. And also it is asking for password. Have tried all of mine and it will not work.

    Want to us my time capsule model A1409  as only backup. 2 TB hard drive.
    Already have Verizon wireless router. Do not want to use Time capsule as router, only back up for iMac.
    Do not know which cable port to use in back of time capsule to Ethernet port back of my iMac.
    And also it is asking for password for the server John Garland's Time Capsule so Time machine can access it..
    Have tried all of passwords can think of and none work.
    Held the reset button for one second on back of capsule and do not see if anything happened.
    What a conundrum.
    Appreciate any help to get this working.
    Thanks,
    John R

    I have a 2TB Timecapsule and really only use it for Time Machine backups. But the Wi-Fi side is used to sync my iPad at times.
    Mine is wiredup thus;
    Eth cable from iMac to modem (not the WAN port should you have one),  then eth cable from modem to T/Cap in the WAN port (bottom port with an O sign above it)
    I believe when its connected up you may have to set up a wireless network. Follow the instructions to set up Wi-Fi and Network
    and then give it a password. The WiFi icon should appear in the menu bar where you can switch it on or off.
    Its been sometime since I set it with the help of Apple Techs so I might be a bit rusty.
    Alan

  • Can ethernet ports be used for windows pc as a LAN so that i can share all documents through it?

    can ethernet ports be used for windows pc as a LAN so that i can share all documents through it?

    The current 27-inch iMac can. Other iMac models can't outside of a VNC setup or ScreenRecycler; all such solutions require a standalone monitor for setup and troubleshooting.
    (51433)

  • List all ports using SAP

    Hi,
    Please, Someone knows how to list all ports using SAP?
    Thank you.
    Enrique

    Hi,
    please visit
    https://websmp207.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000208202007E
    Regards
    Bernd

  • Unable to log in user at this time / opening up all ports

    I've got a lion 10.7.3 server and several Lion client boxes all attached via ethernet to an airport extreme.
    I've got a bona fide certificate that seems to have installed correctly, and the client is talking to the open directory server
    Without fail, I get a message "unable to log in the user at this time" on each of the clients...
    UNLESS I open up all ports on my airport extreme to the server. 
    I've tried opening individual ports for AFP, profile manager (1640, 2195), open ldap (389, 636) and even kerberos (88).  Even with all of these open, it still doesn't work.  I have to open up everything to get the error to go away - then the users can log in just fine.
    Note, I'm logging in from the local network to a server on the local network, so this just seems bizarre.
    I don't have the logs on this computer, but I recall that the error was occurring when it tried to mount the home directory, after authentication.  It was an error 64 from homedirmounter (if memory serves).
    Any thoughts on what port I'm missing that might be causing the error?

    3659 is the SASL port used by the password server, so that makes a certain amount of sense.
    However, I still maintain that if your network is configured in the way I'd expect, the base station shouldn't be relevant. The clients should be connecting on a LAN-to-LAN basis so the firewall/filter in the base station shoudn't be in play.
    Given what you say, I suspect you've misconfigured your network - probably at the DNS level and you're not running private DNS for your LAN, which would force the clients to connect through the public address. The risks and downside of this approach are numerous - not least of which is the fact that you ARE exposing your server to the general public (including all the less-than-honourable people out there). On that basis there is a risk and i'd look to close that soonest.
    You should have a private DNS server running on your LAN that knows the private network addresses of your servers and clients. In this way any client should be able to connect directly to the server's LAN address, bypassing the public interface on your base station. I suspect that if you perform a DNS lookup on your server's hostname you get back its public address, right?

  • I am having trouble viewing iStore. It appears as if its a Flash issue, as several minutes after logging in to iStore I get a non-flash page of iStore in my iTunes window. I have re-installed everything and tried opening all ports in router....any ideas?

    I am having trouble viewing iStore. It appears as if its a Flash issue, as several minutes after logging in to iStore I get a non-flash page of iStore in my iTunes window. I have re-installed everything and tried opening all ports in router, and used msconfig to bring up each service individually to see if there is an effect.Flash and iTunes have been re-installed  ...any ideas?

    I agree. I don't rely on iCloud as a backup, that is what I have my portable hard drive for. Its 500 GB so I can hold my entire iTunes library several times over on it. I have all my movies on my hard drive, but somehow "The Mist" got deleted off of my hard drive, so I figured "Well, the option to redownload an already purchased movie is available through iCloud, I'll just do that!"
    And permissions and download availability have nothing to do with it, the movie's still there, it still allows me to redownload it. The only problem is when I click download, I get that message.
    And nobody else uses my computer, but I do have multiple accounts authorized on it. Even still though, I am attepmpting to download it through the account I purchased it under. :/

  • How to determine which IP address and port is used to make DNS queries?

    I am using JNDI/DNS API to query a Enum server (Tel URI resolution in VOIP world) what is a DNS server.
    But I have many network interfaces, in a VLAN environment, and I must to specify from which interface (and port)
    all the requests are sent.
    When I read the code of JNDI/DNS API (in JDK 1.5) and specially the DNSClient class, I can see that the
    DatagramSocket is created without parameters... : udpSocket = new DatagramSocket();
    How can I specify the IP address and port to use for my client???
    Thanks for your help.

    I must to specify from which interface (and port) all the requests are sent. You don't have to specify the interface unless your static unicast routing tables are incorrect, and you never have to specify the port unless some lunatic is in control of your firewall.

  • HT4060 For some reason my iPad wont charge at all I'm using the same charger I use on my other iPad n it still won't work

    For some reason my iPad wont charge at all I'm using the same charger I use on my other iPad n it still won't work

    Try giving it a reset. Hold down the sleep and home keys, past when you see the red power down slider and until you see the silver apple. Let it reboot and try again.
    But  if that charger works just fine with your other iPad and not this one, I'd call up your local apple store and make an appointment so they can look at it. Usually when an iPad wont' charge (when plugged into the wall with its supplied charger) it's
    Bad outlet
    bad power brick
    bad cable
    and if the charger is working with another iPad then that rules that out and the thing left is something wrong with the 30 pin port on the iPad, or perhaps something with the battery or software that monitors the battery. ANd things like that are beyond a user fix.
    On the upside if the device is still under warranty - and barring any obvious signs of abuse or neglect - then it should be covered under the warranty.

  • Port in use

    I've got something wedged in a host or listener config. I had 11.2.0 running, scratched it off and to start over. I removed the software and reinstalled. Now when I run netca and try to create a listener on the port I was using it fails saying the port is in use. It isn't. lsof and netstat do not list it. I rebooted anyway, but no change. I assume some file has it registered that I did not clean up correctly. Where might it be?
    The truth is, I had a test db running. Changed the hostname and ip address without looking at how oracle would handle that. I tried to just change the config files in network/admin and could not recover. I decided it would be easier to start over. It is obviously much more complicated then it used to be. I'm glad they finally fixed all that.
    Where to look?

    user11986251 wrote:
    oops, firewall issue. The msg should have been, "can't get to the port," not "it's in use."Keep netstat in mind in future - it can list all TCP ports in use on a server, together with the process that is using the port (check the manpage for the relevant switches to use). Very useful to determine whether a local port is in used and by whom.
    If you're on Windows, the command is also available (obviously not with the same set of command line switches, but it does have the same basic functionality).

  • How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)?

    I am a new user for  labview.I develope my program with FP 2000 but I have some problem
      1 How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)? if it can Tell me please.
      2 If  I use GSM/GPRS modem via FP 2000 rs 232 port (I under stand how to send AT command) and leave it stand alone
         Can I dial modem and browse file in FP 2000 same as use Ethernetport?
    Someone please help me.Thank you very much.

    Hi!
        First, I can say that your project involves many things, I cannot describe all features in the forum, and I'm not used with GPRS modems (my modems are base band serial modems...).
        Anyway, I would say that in your project you should proceed like this:
          1) Configure your FP 2000 module via MAX and ethernet connection;
          2) Download an embedded application to your module (build in LabView Real-Time)
          3) In your application, you should build a kind of serial port manager, and by the means of serial port you send/receive commands from PC.
        The commands from PC can include "Tell me the about the FP 2000 file system ", or "switch on line X", or anything you need.
       I think it would be difficult to use Internet exp, because you use IE with TCP/IP, and TCP/IP is over ethernet.
       I know that for Windows you can find some wrappers that make you "see" the serial port as an ethernet, but these wrapper do not exist under filed Point, and you shoul build one yourself!!!(and that's not easy).
        For example, to browse your files, you should build a VI that searches through your file system, and reports, via serial, the files present in a directory (it's an example....).
        About communication between GPRS modems and FP2000, I know nothing.  I suppose that these modems accept serial inputs, so you'll have to configure your serial port on FP 2000 with the correct baud rate, parity, and so on..... and you send your data to the modem.  The modem will transfer data in its way, no matter on how it does.
        To send data to your modem you shoud take a look to some Serial communication examples.  What I suggest you, first, is to connect the serial port of FP2000 to a PC, and test communication between PC and FP2000, without modems. Just direct cable connection!  If you're able to do this, insertion of modems is the next step, and should be quite easy.  If you're not able to make the PC receive strings of data from FP2000, over  RS232, adding modems is a further complication, and you won't come out of this mess!
       So, what I say, is just build, for now, a simple embedded application for FP2000, that, using RS232, sends data to a PC (you should see data sent with use of Hyper terminal).
        To build this application, use Instrument I/O --> VISA commands (VISA open, VISA write, and Property node should be enough, for now).
       Please, let me know if this helps......
        Have a nice (programming) day!
    graziano

  • What Thunderbolt ports to use?

    I know there is some protocol on what Thunderbolt ports to use on the new Mac Pro. I have 2 external TB drives, 1 TB display, and I feed an AJA T-Tap with another TB cable. The other day I changed some cables around and when I went to start the Mac Pro it just gave me chimes and would not boot. I moved some TB cables and all is fine. What is the proper method?
    Thanks.
    Tom

    See if this helps:
    http://support.apple.com/kb/ht5918
    Note in the diagram that there are three seperate bus points.
    Al

  • Error on Send Port configured using HTTP adapter

    Hi All,
    For Load balancing purpose we have created new host and host instance and changed send handler for send port configured using 
    plain HTTP adapter.
    We are getting below error after change:
    A password is mandatory if UserName is specified
    Parameter name: Password
    Please advice.
    Thanks
    Pooja Jagtap Software Engineer KPIT Cummins

    Have you updated the password for your Host instance . Try restarting your host instance once .
    Thanks
    Abhishek

Maybe you are looking for