Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

How to determine what software is using port 80 (or any other port)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to determine what software is using port 80 (or any other port)

    For troubleshooting why the Web App Server says the port is in use...

    Windows XP and 2003 have the tools built-in to determine what process is using a specific TCP/IP port. If you are using some other version of windows, you will not be able to continue as below. But there are still a number of third-party tools available which can be downloaded instead. One such tool that has been used successfully by several people is fport.


    From a command prompt, run netstat -o. This will output a list of ports, along with the PID (process ID) that has that port open. The output looks something like:

    Code:
    C:\Documents and Settings\Administrator>netstat -o
    
    Active Connections
    
      Proto  Local Address          Foreign Address        State           PID
      TCP    WEBAPPSERVER2:80       199.90.113.2:57434     TIME_WAIT       2636
      TCP    WEBAPPSERVER2:80       199.90.113.2:57589     TIME_WAIT       2636
      TCP    WEBAPPSERVER2:80       199.90.113.2:57600     TIME_WAIT       2636
      TCP    WEBAPPSERVER2:80       199.90.113.2:57608     TIME_WAIT       2636
      TCP    WEBAPPSERVER2:3389     12.110.143.84:6473     ESTABLISHED     964
      TCP    WEBAPPSERVER2:2325     192.168.0.13:netbios-ssn  TIME_WAIT       0
    
    C:\Documents and Settings\Administrator>
    The sample output above indicates that the local port 80 is being used by process id 2636.

    To determine what executable is running as a process ID, open Windows Task Manager and switch to the Processes tab. Now click on View->Select Columns... On the screen that opens, make sure "PID (Process Identifier)" is checked and then click OK. Now click on the PID heading to sort the entries by PID. The screen below shows that PID 2636 is alpha5.exe, indicating that it is the Web Application Server using port 80 in this case.


    Lenny Forziati
    Vice President, Internet Products and Technical Services
    Alpha Software Corporation

  • #2
    Lenny -

    It would appear netstat -a displays the same info in WIN 2000.

    - John O
    John Oesterle
    ToolBytes, LLC

    Comment


    • #3
      netstat -a on windows 2000 does not show the PID using the port, this was added as -o in XP. You can use netstat on 2000 to confirm that the port is in fact open, but you cannot find out by which process.

      -Lenny

      Originally posted by John Oesterle
      Lenny -

      It would appear netstat -a displays the same info in WIN 2000.

      - John O

      Lenny Forziati
      Vice President, Internet Products and Technical Services
      Alpha Software Corporation

      Comment


      • #4
        Re: How to determine what software is using port 80 (or any other port)

        I tried the above; nothing appears to be using port 80 on the list, however, I get the error that the port is in use with WAS.
        I've deleted the sites that were using in IIS

        why am I still getting this error?

        below is the output of netstat -o

        C:\Program Files (x86)\Support Tools>netstat -o

        Active Connections

        Proto Local Address Foreign Address State PID
        TCP VPS-2035:smtp VPS-2035:3651 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3658 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3659 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3660 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3661 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3662 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3665 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3666 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3667 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3668 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3670 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3671 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3672 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3678 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3679 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3680 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3681 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3682 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3683 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3685 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3686 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3692 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3695 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3696 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3698 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3700 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3701 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3704 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3705 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3706 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3707 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3708 TIME_WAIT 0
        TCP VPS-2035:smtp VPS-2035:3709 TIME_WAIT 0
        TCP VPS-2035:3649 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3650 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3653 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3654 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3656 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3660 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3670 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3673 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3674 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3675 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3677 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3678 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3679 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3683 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3684 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3686 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3687 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3688 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3692 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3693 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3694 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3697 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3703 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3706 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3710 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3711 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:3712 VPS-2035:smtp TIME_WAIT 0
        TCP VPS-2035:ms-wbt-server c-98-221-116-58.hsd1.nj.comcast.net:49424 ESTABLISHED 79096
        TCP VPS-2035:ms-wbt-server cs-lb01-priv.nat.firewall1.softcom.biz:24191 ESTABLISHED 79096
        TCP VPS-2035:3724 imta.westchester.pa.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3725 imta.emeryville.ca.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3726 imta.emeryville.ca.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3727 imta.emeryville.ca.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3728 imta.westchester.pa.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3729 imta.westchester.pa.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3730 imta2.westchester.pa.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3731 imta2.emeryville.ca.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3732 imta.westchester.pa.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3733 imta2.emeryville.ca.mail.comcast.net:smtp SYN_SENT 56172
        TCP VPS-2035:3734 imta.westchester.pa.mail.comcast.net:smtp SYN_SENT 56172

        C:\Program Files (x86)\Support Tools>

        Comment


        • #5
          Re: How to determine what software is using port 80 (or any other port)

          same here.. nothing running port 80 .. but I get the message that port is being used..

          if I http://localhost I get the A5 icon on my browser but is not mapped to the right phisical path.

          Comment


          • #6
            Re: How to determine what software is using port 80 (or any other port)

            I resolved this issue on Server 2003 SP2. The server was working fine for years and recently, I think since the last critical updates, wouldn't browse any sites. Same symptoms as other posters, could ping, DNS resolution working, nothing shown using the port using netstat, no proxy or odd LAN settings in IE.

            Found this error in DNS,

            The DNS server could not open socket for address 0.0.0.0.
            Verify that this is a valid IP address for the server computer. If it is NOT valid use the Interfaces dialog under Server Properties in the DNS Manager to remove it from the list of IP interfaces.

            Apparently the setting, listen on all IP addresses, which has been the setting for literally 4 years, needed to be changed to the sole IP address of this server (only the following IP...). Problem solved.

            Comment


            • #7
              Re: How to determine what software is using port 80 (or any other port)

              how to determin what is using port 80 in win7 64

              Comment


              • #8
                Re: How to determine what software is using port 80 (or any other port)

                I'm also unable to use port 80 all of a sudden. Win 7/64. Following instructions above and from other areas on the 'net the PID = 0. Going to Services in the Task Manager does not show a PID of 0.

                Any ideas?

                -John

                Comment


                • #9
                  Re: How to determine what software is using port 80 (or any other port)

                  Nervermind. Found the culprit - SQL Server

                  Comment


                  • #10
                    Re: How to determine what software is using port 80 (or any other port)

                    Win 7 Pro 64x bit suddenly started port 80 in use error.
                    Had just changed to Teamviewer remote control software and it was the cause of "port 80 in use" http://localhost displayed teamviewer.
                    Advanced section in Teamviewer has option to NOT use port 80 or 443.

                    Comment


                    • #11
                      Re: How to determine what software is using port 80 (or any other port)

                      In my case it was Skype using the port 80 for alternative... go to Skype and check in Tools / Options / Advanced / Connection... if the Box "Use port 80..." is ticked... that is one of the culprits. Untick and try again to launch the A5 server.

                      Comment


                      • #12
                        Re: How to determine what software is using port 80 (or any other port)

                        Run an administrator command prompt (e.g. Start, search for cmd, right click on it, choose "Run as administrator", approve the UAC prompt if any.
                        Type net stop HTTP
                        If there are other running services that depend on the HTTP service, you'll get a list; double check to see if there's anything listed there you can't bear to do without. Or, if you're just stopping HTTP to use port 80 temporarily, make a note of those dependent services that you'll want to restart once you're done with the port. Either way, if it's okay, enter y to continue.
                        Some dependent services might throw up stop control warnings that cancel the operation; just repeat net stop HTTP until it is stopped (i.e. until it says The HTTP service was stopped successfully.)
                        Later on, you can restart any of the dependent services, using net start or by using the Services item in Administrative Tools, and the HTTP service will be started again automatically.

                        This worked perfect and showed me what was stopped

                        Comment


                        • #13
                          Re: How to determine what software is using port 80 (or any other port)

                          Hello this thread is old but I'm having the same problem. I have done everything in this thread with no luck. I'm just trying to demo it to see if I want to buy it. Doesn't look good.

                          Any Suggestions?

                          Comment


                          • #14
                            Re: How to determine what software is using port 80 (or any other port)

                            I think your problem may actually not be a port 80 problem but is related to the inability of the server to run on port 80 [providing external access] when it has not been activated [so you need to buy a license for that].

                            If you want to demo, use port 8080 locally instead keeping in mind that the server will not allow external connections anyway as long as it is not activated.

                            Good luck with the testing.

                            Comment


                            • #15
                              Re: How to determine what software is using port 80 (or any other port)

                              Hello,

                              Thanks for your quick response. That is a plus! :) I changed the port and on to testing.

                              thanks

                              Comment

                              Working...
                              X