13 Replies Latest reply: Jan 4, 2012 6:10 AM by ArtifexEt RSS

    "Unrecognized Windows Sockets error" message

    msabljic Community Member
      I have the following problem with Flex Builder 3, when i run application (i get the same error for various applications) in debug mode most of the time i get the following error:

      "Unrecognized Windows Sockets error: 0: JVM_BIND"

      Why is this happening, can someone help me solve this problem?

      thanks
        • 1. Re: "Unrecognized Windows Sockets error" message
          kazcoling
          Hi,
          What is the version of the flash player(plugin) you are using?
          Could you also let us know if you are using the standalone or the plugin version of Flex Builder? If it's plugin, could you let us know what is your JVM version is?

          Thanks!
          Kazue
          Flex Builder QE
          Adobe Systems
          • 2. Re: "Unrecognized Windows Sockets error" message
            msabljic Community Member
            I am using Flash Player 9.0 r60 and standalone version of Flex Builder 3 on Windows Vista with Java Runtime Enivironment 6 . I hope this information helps.
            • 3. Re: "Unrecognized Windows Sockets error" message
              August_Gresens Community Member
              Hello

              I'm having the exact same problem with Flex Build 2.0.1 on Vista.

              I get this message only after running the debugger once. The first time it works, the second time I attempt to run in debug mode, I get the error message.

              It seems that the flash player is holding onto the socket. I upgraded the debug version of Flash Player from r28 to r45 and the same problem happpens.

              This also prevents the debugger in the Flash CD3 IDE from working - I get a similar message that the socket needed to debug is not open.

              I uninstalled Java 6 and the problem also happens if Eclipse is running under Java 5 (1.5.12).

              This is a REALLY annoying problem as I have to keep restarting Eclipse if I want to use the debugger.

              Thanks,

              August
              • 4. "Unrecognized Windows Sockets error" message
                George Comninos Adobe Employee
                Hi August,
                Can you try running TCPView and give us a dump of the output before and after the first debugging session?
                You can download TCPView here:

                http://downloads.sysinternals.com/Files/TCPView.zip

                thanks!

                George Comninos
                Computer Scientist
                Adobe Systems Inc.
                • 5. Re: "Unrecognized Windows Sockets error" message
                  August_Gresens Community Member
                  George

                  Here's my dumps!

                  Here's a synopsis of what I see running it in real time:

                  When I start debugging, these connections are opened:

                  TCP August-Notebook:7935 August-Notebook:0 LISTENING
                  TCP August-Notebook:7935 localhost:49346 ESTABLISHED
                  TCP August-Notebook:49346 localhost:7935 ESTABLISHED

                  Right after I stop debugging, these connections go into various states

                  TCP August-Notebook:7935 localhost:49346 CLOSE_WAIT
                  TCP August-Notebook:49346 localhost:7935 FIN_WAIT2

                  After about 30 seconds, the connections change to this state:

                  TCP August-Notebook:49346 localhost:7935 TIME_WAIT

                  Subsequent attempts to debug result in the JVM_BIND Error.

                  -------------- FULL LOGS --------------------------------


                  Before Debugging:

                  TCP August-Notebook:http August-Notebook:0 LISTENING
                  TCP August-Notebook:epmap August-Notebook:0 LISTENING
                  TCP August-Notebook:8080 August-Notebook:0 LISTENING
                  TCP August-Notebook:49152 August-Notebook:0 LISTENING
                  TCP August-Notebook:49153 August-Notebook:0 LISTENING
                  TCP August-Notebook:49154 August-Notebook:0 LISTENING
                  TCP August-Notebook:49155 August-Notebook:0 LISTENING
                  TCP August-Notebook:49156 August-Notebook:0 LISTENING
                  TCP August-Notebook:49157 August-Notebook:0 LISTENING
                  TCP August-Notebook:4664 August-Notebook:0 LISTENING
                  TCP August-Notebook:5354 August-Notebook:0 LISTENING
                  TCP August-Notebook:49158 localhost:49159 ESTABLISHED
                  TCP August-Notebook:49159 localhost:49158 ESTABLISHED
                  TCP August-Notebook:49201 localhost:49202 ESTABLISHED
                  TCP August-Notebook:49202 localhost:49201 ESTABLISHED
                  TCP August-Notebook:49203 localhost:49204 ESTABLISHED
                  TCP August-Notebook:49204 localhost:49203 ESTABLISHED
                  TCP august-notebook:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:49168 el-in-f125.google.com:5222 ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49250 ag-in-f19.google.com:http ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49344 el-in-f91.google.com:http ESTABLISHED
                  UDP August-Notebook:ntp *:*
                  UDP August-Notebook:isakmp *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:ipsec-msft *:*
                  UDP August-Notebook:llmnr *:*
                  UDP August-Notebook:49160 *:*
                  UDP August-Notebook:49162 *:*
                  UDP August-Notebook:49195 *:*
                  UDP August-Notebook:49196 *:*
                  UDP August-Notebook:ssdp *:*
                  UDP August-Notebook:49721 *:*
                  UDP august-notebook:netbios-ns *:*
                  UDP august-notebook:netbios-dgm *:*
                  UDP august-notebook:ssdp *:*
                  UDP august-notebook:5353 *:*
                  UDP august-notebook:49719 *:*
                  UDP august-notebook.nycap.rr.com:netbios-ns *:*
                  UDP august-notebook.nycap.rr.com:netbios-dgm *:*
                  UDP august-notebook.nycap.rr.com:ssdp *:*
                  UDP august-notebook.nycap.rr.com:5353 *:*
                  UDP august-notebook.nycap.rr.com:49720 *:*


                  During Debugging:

                  TCP August-Notebook:http August-Notebook:0 LISTENING
                  TCP August-Notebook:epmap August-Notebook:0 LISTENING
                  TCP August-Notebook:8080 August-Notebook:0 LISTENING
                  TCP August-Notebook:49152 August-Notebook:0 LISTENING
                  TCP August-Notebook:49153 August-Notebook:0 LISTENING
                  TCP August-Notebook:49154 August-Notebook:0 LISTENING
                  TCP August-Notebook:49155 August-Notebook:0 LISTENING
                  TCP August-Notebook:49156 August-Notebook:0 LISTENING
                  TCP August-Notebook:49157 August-Notebook:0 LISTENING
                  TCP August-Notebook:4664 August-Notebook:0 LISTENING
                  TCP August-Notebook:5354 August-Notebook:0 LISTENING
                  TCP August-Notebook:49158 localhost:49159 ESTABLISHED
                  TCP August-Notebook:49159 localhost:49158 ESTABLISHED
                  TCP August-Notebook:49201 localhost:49202 ESTABLISHED
                  TCP August-Notebook:49202 localhost:49201 ESTABLISHED
                  TCP August-Notebook:49203 localhost:49204 ESTABLISHED
                  TCP August-Notebook:49204 localhost:49203 ESTABLISHED
                  TCP august-notebook:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:49168 el-in-f125.google.com:5222 ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49250 ag-in-f19.google.com:http ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49344 el-in-f91.google.com:http ESTABLISHED
                  TCP August-Notebook:7935 August-Notebook:0 LISTENING
                  TCP August-Notebook:7935 localhost:49346 ESTABLISHED
                  TCP August-Notebook:49346 localhost:7935 ESTABLISHED
                  UDP August-Notebook:ntp *:*
                  UDP August-Notebook:isakmp *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:ipsec-msft *:*
                  UDP August-Notebook:llmnr *:*
                  UDP August-Notebook:49160 *:*
                  UDP August-Notebook:49162 *:*
                  UDP August-Notebook:49195 *:*
                  UDP August-Notebook:49196 *:*
                  UDP August-Notebook:ssdp *:*
                  UDP August-Notebook:49721 *:*
                  UDP august-notebook:netbios-ns *:*
                  UDP august-notebook:netbios-dgm *:*
                  UDP august-notebook:ssdp *:*
                  UDP august-notebook:5353 *:*
                  UDP august-notebook:49719 *:*
                  UDP august-notebook.nycap.rr.com:netbios-ns *:*
                  UDP august-notebook.nycap.rr.com:netbios-dgm *:*
                  UDP august-notebook.nycap.rr.com:ssdp *:*
                  UDP august-notebook.nycap.rr.com:5353 *:*
                  UDP august-notebook.nycap.rr.com:49720 *:*


                  Right After Debugging

                  TCP August-Notebook:http August-Notebook:0 LISTENING
                  TCP August-Notebook:epmap August-Notebook:0 LISTENING
                  TCP August-Notebook:8080 August-Notebook:0 LISTENING
                  TCP August-Notebook:49152 August-Notebook:0 LISTENING
                  TCP August-Notebook:49153 August-Notebook:0 LISTENING
                  TCP August-Notebook:49154 August-Notebook:0 LISTENING
                  TCP August-Notebook:49155 August-Notebook:0 LISTENING
                  TCP August-Notebook:49156 August-Notebook:0 LISTENING
                  TCP August-Notebook:49157 August-Notebook:0 LISTENING
                  TCP August-Notebook:4664 August-Notebook:0 LISTENING
                  TCP August-Notebook:5354 August-Notebook:0 LISTENING
                  TCP August-Notebook:49158 localhost:49159 ESTABLISHED
                  TCP August-Notebook:49159 localhost:49158 ESTABLISHED
                  TCP August-Notebook:49201 localhost:49202 ESTABLISHED
                  TCP August-Notebook:49202 localhost:49201 ESTABLISHED
                  TCP August-Notebook:49203 localhost:49204 ESTABLISHED
                  TCP August-Notebook:49204 localhost:49203 ESTABLISHED
                  TCP august-notebook:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:49168 el-in-f125.google.com:5222 ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49250 ag-in-f19.google.com:http ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49344 el-in-f91.google.com:http ESTABLISHED
                  TCP August-Notebook:7935 localhost:49346 CLOSE_WAIT
                  TCP August-Notebook:49346 localhost:7935 FIN_WAIT2
                  UDP August-Notebook:ntp *:*
                  UDP August-Notebook:isakmp *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:ipsec-msft *:*
                  UDP August-Notebook:llmnr *:*
                  UDP August-Notebook:49160 *:*
                  UDP August-Notebook:49162 *:*
                  UDP August-Notebook:49195 *:*
                  UDP August-Notebook:49196 *:*
                  UDP August-Notebook:ssdp *:*
                  UDP August-Notebook:49721 *:*
                  UDP august-notebook:netbios-ns *:*
                  UDP august-notebook:netbios-dgm *:*
                  UDP august-notebook:ssdp *:*
                  UDP august-notebook:5353 *:*
                  UDP august-notebook:49719 *:*
                  UDP august-notebook.nycap.rr.com:netbios-ns *:*
                  UDP august-notebook.nycap.rr.com:netbios-dgm *:*
                  UDP august-notebook.nycap.rr.com:ssdp *:*
                  UDP august-notebook.nycap.rr.com:5353 *:*
                  UDP august-notebook.nycap.rr.com:49720 *:*


                  30 Seconds After Debugging


                  TCP August-Notebook:http August-Notebook:0 LISTENING
                  TCP August-Notebook:epmap August-Notebook:0 LISTENING
                  TCP August-Notebook:8080 August-Notebook:0 LISTENING
                  TCP August-Notebook:49152 August-Notebook:0 LISTENING
                  TCP August-Notebook:49153 August-Notebook:0 LISTENING
                  TCP August-Notebook:49154 August-Notebook:0 LISTENING
                  TCP August-Notebook:49155 August-Notebook:0 LISTENING
                  TCP August-Notebook:49156 August-Notebook:0 LISTENING
                  TCP August-Notebook:49157 August-Notebook:0 LISTENING
                  TCP August-Notebook:4664 August-Notebook:0 LISTENING
                  TCP August-Notebook:5354 August-Notebook:0 LISTENING
                  TCP August-Notebook:49158 localhost:49159 ESTABLISHED
                  TCP August-Notebook:49159 localhost:49158 ESTABLISHED
                  TCP August-Notebook:49201 localhost:49202 ESTABLISHED
                  TCP August-Notebook:49202 localhost:49201 ESTABLISHED
                  TCP August-Notebook:49203 localhost:49204 ESTABLISHED
                  TCP August-Notebook:49204 localhost:49203 ESTABLISHED
                  TCP august-notebook:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:netbios-ssn August-Notebook:0 LISTENING
                  TCP august-notebook.nycap.rr.com:49168 el-in-f125.google.com:5222 ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49250 ag-in-f19.google.com:http ESTABLISHED
                  TCP august-notebook.nycap.rr.com:49344 el-in-f91.google.com:http ESTABLISHED
                  TCP August-Notebook:49346 localhost:7935 TIME_WAIT
                  UDP August-Notebook:ntp *:*
                  UDP August-Notebook:isakmp *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:3702 *:*
                  UDP August-Notebook:ipsec-msft *:*
                  UDP August-Notebook:llmnr *:*
                  UDP August-Notebook:49160 *:*
                  UDP August-Notebook:49162 *:*
                  UDP August-Notebook:49195 *:*
                  UDP August-Notebook:49196 *:*
                  UDP August-Notebook:ssdp *:*
                  UDP August-Notebook:49721 *:*
                  UDP august-notebook:netbios-ns *:*
                  UDP august-notebook:netbios-dgm *:*
                  UDP august-notebook:ssdp *:*
                  UDP august-notebook:5353 *:*
                  UDP august-notebook:49719 *:*
                  UDP august-notebook.nycap.rr.com:netbios-ns *:*
                  UDP august-notebook.nycap.rr.com:netbios-dgm *:*
                  UDP august-notebook.nycap.rr.com:ssdp *:*
                  UDP august-notebook.nycap.rr.com:5353 *:*
                  UDP august-notebook.nycap.rr.com:49720 *:*

                  Thanks,

                  August
                  • 6. Re: "Unrecognized Windows Sockets error" message
                    August_Gresens Community Member
                    Hello? Any clue as to what's causing this? Anything to try? Still a BIG problem for me.. Thanks, A
                    • 7. Re: "Unrecognized Windows Sockets error" message
                      msabljic Community Member
                      Same here, this is really a BIG problem :(
                      • 8. Re: "Unrecognized Windows Sockets error" message
                        August_Gresens Community Member
                        Ok, let me know if there is any other information I can provide for you. Thanks, August
                        • 9. Re: "Unrecognized Windows Sockets error" message
                          rubikmm
                          So, nothing?!?

                          My story is something like this: I installed NOD32 because I had problems with a virus attaking my Yahoo Messenger and after doing a full scan of my hard drives I get same pb as you guys. First it's working to do my debugging. When I close the debugging session and start it again the error occurs. I have to mention another thing that I just remembered: when I started first time Flex after all the scanning, Windows asked me if I want to unblock the connection! - maybe this is it. I hope someone will see this and post here the solution!
                          • 10. Re: "Unrecognized Windows Sockets error" message
                            August_Gresens Community Member
                            The problem is with NOD32. If I remove NOD32, then the debugger works - so this is not an issue with Flex. A
                            • 11. Re: "Unrecognized Windows Sockets error" message
                              Shtong
                              For those how are having this problem, it seems that the beta version of the next release of NOD32 fixes this issue. You can download it at http://www.eset.eu/download/beta
                              • 12. Re: "Unrecognized Windows Sockets error" message
                                fzhu@avoka.com

                                I am having the same problem. I reinstalled flash debugger a few times. Not sure what's happening.

                                • 13. Re: "Unrecognized Windows Sockets error" message
                                  ArtifexEt

                                  Same problem, flex builder 4,6 windows 7 64 bit