NO OPEN PORT in Windows XP

Hi all,
i try to look all the open port of my computer with socket, but neither is open!!! How is possible?
I would to look the computer connected to my LAN, and to do so i have think to look at the echo port... but neither...
the code is:
import java.net.*;
import java.io.*;
public class LowPortScanner {
  public static void main(String[] args) {
    String host = "localhost";
    if (args.length > 0) {
      host = args[0];
    for (int i = 0; i < 26; i++) {
         System.out.println("Try " +i);
      try {
        Socket s = new Socket(host, i);
        System.out.println("There is a server on port " + i + " of "
         + host);
      catch (UnknownHostException ex) {
        System.err.println(ex);
        break;
      catch (IOException ex) {
        // must not be a server on this port
    } // end for
  }  // end main
}  // end PortScannerThanks a lot
bye

Port does not necessarily mean Socket.
Socket is TCP. Port applies to both TCP and UDP.
And one way isReachable() works is to use ICMP which is kind of odd and doesn't really fit into TCP nor UDP.
I am not confident that either of the ports that you listed are TCP. (Could be but I don't have the documentation here to look it up.)
OSes (including current windows ones) have a command that will list the ports in use on a computer and the type of usage. You should run the appropriate command and see what it says.

Similar Messages

  • Opening ports in windows Web 2008?

    Is there a way to open ports in windows web 2008?
    i tried on firewall and didn't work.
    can someone help please

    Start here
    http://www.windowsnetworking.com/articles-tutorials/windows-server-2008/Configure-Windows-2008-Advanced-Firewall-NETSH-CLI.html

  • Opening ports for Windows computers...

    Hi Everyone! This is my first post on the official forums!
    I am currently sharing my internet connection (ethernet) through my Macbook wirelessly to my windows PC.
    It all works very well as long as just use port 80 for simple web-surfing but whenever i use programs (Steam and Bittorrent) that use other ports i don't seem to get a connection.
    The firewall in my Macbook is turned off...
    Thanks in advance!
    MVH//Kalle from Sweden

    Hi Kalle... & Welcome to the Discussions!
    You might need to open ports on any Roiter the Mac is connected to, but you didn't mention such a thing...
    http://docs.info.apple.com/article.html?artnum=106439
    http://en.wikipedia.org/wiki/Listof_TCP_and_UDP_portnumbers

  • New W520 & Open Ports

    I just bought a new W520.  I was testing the Norton Firewall and running port scans against the machine.  I noticed some open ports so I did a recovery to factory condition.  I ran the port scan again and see a number of ports (25, 80, 110, 8080 - if memory serves correct).  I telnet to the ports and they respond but the is no visiable text so it is difficult to figure out what is running.  I've tried using Tcpview and other tools to view the open ports via Windows 7, but I don't see those ports listening.  I am wondering if there are some Lenovo tools/utilities that use these ports?  I may just be paranoid
    Thanks!

    I decided to break out the big guns. I ran a Nessus scan and NMAP againts my W520. The same ports weren't open when compared to the scan by Advanced Port Scan by RAdmin. These are the results of nmap which mirror the open ports Nessus found. Keep in mind, I had the firewall turned off since I am testing Bitdefender's Internet Security 2012. I used TCPViiew to link the process to these ports and found:
    135 
    139 
    443 - VMWare Worksation
    445 
    902 - VMWare Workstation
    912 - VMWare Workstation
    5357 - svchost.exe
    49152 - wininit.exe
    49153 - wininit.exe
    49154 - wininit.exe
    49155 - wininit.exe
    49165 - wininit.exe
    When I enable the firewall, none of the ports are visable. I am looking at using the BitDefender or Kaspersky's Internet Security Suites. Thoughts from other security folks appreciated!

  • How can I open ports on my AirPort Extreme, from WINDOWS?

    I have an Airport Extreme as my router, and I have a Windows-based computer. I need to open ports on the router (ironically, it is for my Apple TV).
    However, even though I can use the Airport Utility for Windows (latest version 5.5.3), I cannot open ports from the application.
    Everywhere I look, I am supposed to have a firewall tab in the Advanced section, but I do not have it. The only tabs that I have in Advanced are:
    Logging and Statistics
    MobileMe
    IPv6
    How can I open ports on my Airport Extreme router from Windows?

    Is your AirPort Extreme the only router in your network configuration?

  • Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Hi the_mad_movies,
    It seems like this article will be the best option for addressing this issue:
    Error 3194, Error 17, or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • Monitoring open ports and IP adresses on Windows clients

    I'm using SCOM 2012 for monitoring system. 
    I cannot find how to monitor open ports (TCP, UDP) and IP addresses on Windows based PCs. I need that kind of report for Internal auditors and Security officer.
    Is it possible to get Windows Firewall State, collect it in SCOM and prepare report on monthly base?
    tnx in advance

    I have found a possibility to do this. Hope you understand this and it is helpful. This is a two step process but guess will definitely server the purpose.
    Scope: We will be running a tool which will monitor a port (TCP or UDP) for a specific host / IP and will throw a log file.
    SCOM will monitor the log file and will throw a alert if the log file contains the string NOT LISTENING (Port not working or unable to open the port) which the program will create the log with the results.
    First download the program named: PortQry Command Line Port Scanner Version 2.0 from microsoft using the below link. It is a command line tool.
    http://www.microsoft.com/en-in/download/details.aspx?id=17148
    Run it using by making a batch file or powershell script using task scheduler as per your time requirement (Every 5 min or 1Hr).
    Use this command to monitor a ip / hostname and its port with TCP or UDP.
    I have pasted the command file of the program in C:\Port_checker directory so i am using the below syntax
    C:\Port_checker\PortQry.exe -N 192.168.1.1 -e 5723 -p UDP -l C:\Port_checker\Result.log /y
    -N = Hostname / FQDN of agent or Ip address
    -E = Port # what you want to monitor
    -P = Protocol (TCP or UDP)
    -L = Generate log on the following location and name
    /Y = To replace the existing log file name to fresh one without prompt.
    The result in the log file will be as follows:
    ============================
    For successful port open:
    PortQry Version 2.0 Log File
    System Date: Tue Oct 07 09:42:32 2014
    Command run:
     C:\PortQryV2\PortQry.exe -N 192.168.1.1 -e 5723 -p UDP -l C:\Portqryv2\Result.log /y
    Local computer name:
     192.168.1.2
    Querying target system called:
     192.168.1.1
    Attempting to resolve name to IP address...
    Name resolved to 192.168.1.1
    querying...
    UDP port 5723 (unknown service): LISTENING
    ========= end of log file ========= 
      PortQry developed by Tim Rains
    For failure port open:
    PortQry Version 2.0 Log File
    System Date: Tue Oct 07 09:42:32 2014
    Command run:
     C:\PortQryV2\PortQry.exe -N 192.168.1.1 -e 5723 -p UDP -l C:\Portqryv2\Result.log /y
    Local computer name:
     192.168.1.2
    Querying target system called:
     192.168.1.1
    Attempting to resolve name to IP address...
    Name resolved to 192.168.1.1
    querying...
    UDP port 5723 (unknown service): NOT
    LISTENING
    ========= end of log file ========= 
      PortQry developed by Tim Rains
    Now as per the above results NOT LISTENING Port is blocked or is not opened and LISTENINGmeans
    working or port is opened.
    So now using SCOM you will monitor the log file Result.log in the location C:\Port_checker\ saying
    if NOT LISTENING comes in the log file throw me a alert in SCOM consle or via email.
    To configure that alert you need to create a Generic text log alerting Rule which will throw a alert if any thing added in that log which is not to be added and if it is added like NOT
    LISTENING then it will throw a alert.
    Refer this link on how to open a Generic text log alerting Rule.
    http://blogs.technet.com/b/kevinholman/archive/2009/06/20/using-a-generic-text-log-rule-to-monitor-an-ascii-text-file-even-when-the-file-is-a-unc-path.aspx
    Gautam.75801

  • Windows Server 2008 opening ports for sql

    Hello we upgraded our server from 2003 to 2008 and we are trying to open up the ports for the sql server and reporting services so the users can access both database and report manager from their desk.  we only have one location so its not like we
    need people from different locations accessing it.  but for some reason the users still cant access the database even after opening ports 1433 and 80.  Can anyone help please

    Hi
    Can you explain why does he need turn off the firewall on prod. server? Running SQL
    Browser service make sense if we use named instance, the OP did not mention that. Moreover if we enable SQL Browser
    service we probably need to add UDP port 1434 to the firewall.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Open ports for all in LAN

    Hi, a few days ago I bought a wireless router WRT160n. I want to ask how to open some port for all in LAN(3 clients). For example all in LAN have PeerToPeer application for torrents. I want to open port for example 20202 for all. Now I open port from menu Applications & Gaming->Single Port Forwarding, but I must set port for each user IP address.
    Can somebody tell me how to open port for all in LAN without to config for each computer?
    Thanks in advance.

    Hi gv. I read more about UPnP and the WRT160n User Guide. In section Administration>managment int wrote that UPnP is Enabled by default in my router it is corect. I Setup mu PeerToPeer(eMule) TCP/UDP ports to 20202 and check option "Use UPnP to setup ports". I test and close this port on my router configuration for my computer on "Single Port Forwarding", but in eMule the port is still block. Can you explain why it did not work. For UPnP it says that if Enable it allow users with Windows ME and XP automatically to gonfigure Router ports
    Thanks in advance!
    Best Regards.

  • How do I open ports on my airport extreme and assign a fixed IP Address for a device connected to my network?

    I recently had a security system installed in my house.  One of the features is an EPAD which enables me to have a virtual keypad on my iphone, and computer to operate the alarm system.  The technician was not familiar with Mac's and Airports.  How do I open port 80 to 80 in my airport and assign a fixed IP address for the EPAD?  Apparently this is what is needed to make this work.

    There are three ranges of "strictly local" IP addresses reserved for local Network use:
    192.168.xxx.yyy
    172.16.xxx.yyy
    10.xxx.yyy.zzz
    What your Router does for you is to act as your agent on the Internet.Your requests are packaged up and forwarded on your behalf, and only when a response is expected is the response returned to your local IP address.
    Directing Network Traffic to a Specific Computer on Your
    Network (Port Mapping)
    AirPort Extreme uses Network Address Translation (NAT) to share a single IP address with the computers that join the AirPort Extreme network. To provide Internet access to several computers with one IP address, NAT assigns private IP addresses to each computer on the AirPort Extreme network, and then matches these addresses with port numbers. The wireless device creates a port-to-private IP address table entry when a computer on your AirPort (private) network sends a request for information to the Internet.
    If you’re using a web, AppleShare, or FTP server on your AirPort Extreme network, other computers initiate communication with your server. Because the Apple wireless device has no table entries for these requests, it has no way of directing the information to the appropriate computer on your AirPort network.
    To ensure that requests are properly routed to your web, AppleShare, or FTP server, you need to establish a permanent IP address for your server and provide inbound port mapping information to your Apple wireless device.
    To set up inbound port mapping:
    1) Open AirPort Utility, select your wireless device, and then choose Base Station > Manual Setup, or double-click the device icon to open its configuration in a separate window. Enter the password if necessary.
    2) Click the Advanced button, and then click Port Mapping.
    3) Click the Add button and choose a service, such as Personal File Sharing, from the Service pop-up menu.

  • How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    You can certainly use iWork, though I hesitate to recommend it to a seasoned Windows user simply because it would add another level of the unfamiliar with which you would have to gain familiarity. The iWork applications are certainly very competent and in most respects both easy to use and surprisingly powerful. They are not 100% compatible however, though that typically manifests itself in document formatting issues rather than anything more significant.
    I have never attempted to import emails from a Windows system into MacOS - other than in Outlook connected to an Exchange server, thus not really an issue at all. I doubt that the Mail app in MacOS can import directly, but of course you could always set the account(s) up on the Mac and then forward emails you want to keep from the PC. Not elegant, but it works. Virtually any Windows document or file, whichever application created it, can be opened or converted for use on a Mac, and using both systems on my desk each day I rarely see any issues switching stuff from one machine to the other. You may stumble over one or two issues, but likely not significant.
    In switching platforms there will be some inevitable issues, not so much with being able to import your stuff because there's usually a workaround or a utility that can help, but just with getting familiar with the platform and the differences between Windows and MacOS that can obscure their similarities. From time to time the support community here hears from a user who has found the migration very problematic and regrets it, but for the most part the phrase 'I should have done this years ago...' is rather more prevalent!

  • Sudo ipfw list open port?

    So i did a "sudo ipfw list" in the terminal window and i got an open 63353 port. Naturally, I assumed that since my P2P software was just opened, and I said yes to the Leopard app firewall, it was this port number that was assigned to the P2P app.
    Now, I went into my router and also opened up the same corresponding number there (both tcp & udp).
    Still I'm getting a message saying the port is stealth.
    Am I correct in assuming that the Leo app firewall did open 63353 for P2P or does it conceal open ports from a sudo list command?
    Also, is the app firewall stealthing its open ports too? This would mean that if the router is set to stealth and app firewall is stealth, I get a double stealth port? huh does this make sense? I have never had to remove the "stealth ports" from the router before. There has been no prob on that end.
    Any help from apple would be greatly appreciated.

    I only enable my firewall on my laptop as it moves around and joins many different networks. That being said I have locked it down using the Application Firewall and IPFW.
    However my desktop computers in my office rely on the firewall my router provides. I use little snitch to firewall my outgoing connections and that is enough security for me.
    I will turn it off completely and just run the firewall on the router and hope it works like it use to. thx all.
    If you turn it off you can also flush out any IPFW rules with the command
    sudo ipfw flush

  • Opening Ports on Max OS X 10.5.6

    I have two PC using Windows XP and one I Mac using Mac OS X 10.5.6 all on different levels.
    PC #1 (with the application I am trying to access) is connected to a network with a wireless router.
    The wireless router is hooked up to my I Mac.
    I keep getting a message related to fire wall protection and the need to open specific ports.
    Initially I had the wireless router hooked up to PC #2. I could access the application but the signal was too week and the application could not run properly (got a message indicating this).
    The only option I had was to move the wireless router to the Mac.
    I now have a great signal but am unable to access the the application.
    Anyone know how to open ports with an I Mac when you can't see the application from your Mac?

    I was just wondering if by making this router abridge it would make the wireless portion of the network vulnerable to others within the network signal.
    No.
    Making "2nd router/WiFi" a bridge just means that "home router" is now the only router in your home network, and it is, and always has been, your primary hardware firewall between you and the nasty things that crawl around on the internet.
    A "bridge" just passes stuff from one side to the other side without messing with the IP addresses. In many ways it is similar to an ethernet switch, only in this case you are switching from ethernet to WiFi signals.
    With a "bridge" instead of having 2 subnets that can not talk to each other, you have a single subnet where all your home computers can see and talk to each other.
    Unless you do not trust "PC #1", as that is the only system that is now able to see the stuff on the WiFi side of the D-Link. And of course if you leave an ethernet cable dangling out a window for the neighborhood kids to plug in their laptops
    Making "2nd router/WiFi" a bridge does not change your WiFi security. It is what it always was. If you have no WiFi encryption enabled, then you never had security. If you have WEP encryption enabled, you have security that keeps honest neighbors honest, but anyone that wants to break in can do it in a few minutes with software easily avaliable on the net. If you use WPA encryption with a good password, then you are in very good shape, and your WiFi has been and will remain secure (or as secure as is available with today's inexpensive consumer technology).
    By the way my router D link DIR-625 is not easy to turn into a bridge.
    Based on what I found on the net it's not that simple.
    Based on what I found reading the D-Link DIR-625 manual from the web, there is a section which talks about connecting to another router
    If you are connecting the D-Link router to another router to use as a wireless access point and/or switch, you will have to do the following before connecting the router to your network:
    • Disable UPnP™
    • Disable DHCP
    • Change the LAN IP address to an available address on your network. The LAN ports on the router cannot accept a DHCP address from your other router.
    There are more detailed instructions in the manual, but I figure I shouldn't reprint D-Link's manual in the forum. All I did was a Google search for "d-link DIR-625 manual".
    Now it is always possible I got the wrong manual, so your mileage will vary.

  • What are the security risks for opening port 80 on workstations?

    Hello all,
    in our environment, there is an application which open port 80 on workstations when installed, but it is not allowed on preimeter FW
    could you please advise what are the security risks for leaving port 80 opened on the workstations? or it is considered secure unless it is not allowed on the preimeter FW?
    thanks alot & regards

    Hi R.Naguib.
    The 80 port is open by default through the firewall on Windows system, it is used by a http protocol by a browser.
    As for the network or hardware Firewall settings, I suggest to turn to the network administrator for details.
    Regards
    Wade Liu
    TechNet Community Support

  • Can we open an external window From ESS DC?

    Hi,
    Can we open an external window on the click of a button in an <b>ESS dc</b>?
    I am trying to call another web dynpro application as an external window from ESS DC.
    I am doing something like this in the action handler method:
    IWDWindow window = wdComponentAPI.getWindowManager()
         .createExternalWindow("http://hostname:port/webdynpro/dispatcher/local/FirstAction/TestApp?SAPtestId=2", "Test", false);
         window.open();
    It doesnt work. Am I doing something wrong?

    Solved it myself

Maybe you are looking for