How can I see 127.0.0.1 traffic on Windows using Wireshark?











up vote
23
down vote

favorite
2












Every time I try to filter to just show a specific IP address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see any localhost traffic in the logs anyway.



How can I show TCP localhost traffic?



Platform: Windows 7










share|improve this question















migrated from stackoverflow.com Nov 21 '12 at 10:14


This question came from our site for professional and enthusiast programmers.











  • 1




    how exactly are you trying to do this?
    – Oleksandr Kravchuk
    Nov 21 '12 at 1:44






  • 3




    Please try Npcap: github.com/nmap/npcap, it is based on WinPcap and supports loopback traffic capturing on Windows. After you installed Npcap, you can capture the loopback traffic using Wireshark.
    – Yang Luo
    Nov 8 '15 at 8:24















up vote
23
down vote

favorite
2












Every time I try to filter to just show a specific IP address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see any localhost traffic in the logs anyway.



How can I show TCP localhost traffic?



Platform: Windows 7










share|improve this question















migrated from stackoverflow.com Nov 21 '12 at 10:14


This question came from our site for professional and enthusiast programmers.











  • 1




    how exactly are you trying to do this?
    – Oleksandr Kravchuk
    Nov 21 '12 at 1:44






  • 3




    Please try Npcap: github.com/nmap/npcap, it is based on WinPcap and supports loopback traffic capturing on Windows. After you installed Npcap, you can capture the loopback traffic using Wireshark.
    – Yang Luo
    Nov 8 '15 at 8:24













up vote
23
down vote

favorite
2









up vote
23
down vote

favorite
2






2





Every time I try to filter to just show a specific IP address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see any localhost traffic in the logs anyway.



How can I show TCP localhost traffic?



Platform: Windows 7










share|improve this question















Every time I try to filter to just show a specific IP address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see any localhost traffic in the logs anyway.



How can I show TCP localhost traffic?



Platform: Windows 7







windows networking tcp wireshark loopback






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 4 '15 at 20:45







user164970

















asked Nov 21 '12 at 1:32









glutz

223124




223124




migrated from stackoverflow.com Nov 21 '12 at 10:14


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Nov 21 '12 at 10:14


This question came from our site for professional and enthusiast programmers.










  • 1




    how exactly are you trying to do this?
    – Oleksandr Kravchuk
    Nov 21 '12 at 1:44






  • 3




    Please try Npcap: github.com/nmap/npcap, it is based on WinPcap and supports loopback traffic capturing on Windows. After you installed Npcap, you can capture the loopback traffic using Wireshark.
    – Yang Luo
    Nov 8 '15 at 8:24














  • 1




    how exactly are you trying to do this?
    – Oleksandr Kravchuk
    Nov 21 '12 at 1:44






  • 3




    Please try Npcap: github.com/nmap/npcap, it is based on WinPcap and supports loopback traffic capturing on Windows. After you installed Npcap, you can capture the loopback traffic using Wireshark.
    – Yang Luo
    Nov 8 '15 at 8:24








1




1




how exactly are you trying to do this?
– Oleksandr Kravchuk
Nov 21 '12 at 1:44




how exactly are you trying to do this?
– Oleksandr Kravchuk
Nov 21 '12 at 1:44




3




3




Please try Npcap: github.com/nmap/npcap, it is based on WinPcap and supports loopback traffic capturing on Windows. After you installed Npcap, you can capture the loopback traffic using Wireshark.
– Yang Luo
Nov 8 '15 at 8:24




Please try Npcap: github.com/nmap/npcap, it is based on WinPcap and supports loopback traffic capturing on Windows. After you installed Npcap, you can capture the loopback traffic using Wireshark.
– Yang Luo
Nov 8 '15 at 8:24










4 Answers
4






active

oldest

votes

















up vote
19
down vote



accepted










If you are trying to this on a Windows computer, unfortunately it is not possible out of the box. You will need to install some additional software that will capture data on the loopback interface.



On a Linux computer, you will need to capture from the loopback interface which is lo most of the time. Most other Unix operating systems use lo0.






share|improve this answer






























    up vote
    4
    down vote













    Although you found the answer before I could respond, you can also use Socket Sniffer, which looks at Winsock calls and monitors network sockets; the download link is at the bottom of the page.






    share|improve this answer




























      up vote
      2
      down vote













      To keep this current, as hsluoyz said, install npcap



      http://wiki.wireshark.org/CaptureSetup/Loopback




      When installed on Windows Vista or later (including Win7, Win8 and
      Win10) with option "Support loopback traffic ("Npcap Loopback Adapter"
      will be created)" selected, it will create an Npcap Loopback Adapter
      that can be selected in Wireshark so as to capture IPv4/IPv6 loopback
      traffic.







      share|improve this answer




























        up vote
        0
        down vote













        Use RawCap, to capture traffic of localhost (127.0.0.1). You just need to download Rawcap.exe and run it. It will open its command prompt listing interfaces. Now select one of the interface which has loopback address 127.0.0.1.






        share|improve this answer








        New contributor




        Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.


















          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f508623%2fhow-can-i-see-127-0-0-1-traffic-on-windows-using-wireshark%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          4 Answers
          4






          active

          oldest

          votes








          4 Answers
          4






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          19
          down vote



          accepted










          If you are trying to this on a Windows computer, unfortunately it is not possible out of the box. You will need to install some additional software that will capture data on the loopback interface.



          On a Linux computer, you will need to capture from the loopback interface which is lo most of the time. Most other Unix operating systems use lo0.






          share|improve this answer



























            up vote
            19
            down vote



            accepted










            If you are trying to this on a Windows computer, unfortunately it is not possible out of the box. You will need to install some additional software that will capture data on the loopback interface.



            On a Linux computer, you will need to capture from the loopback interface which is lo most of the time. Most other Unix operating systems use lo0.






            share|improve this answer

























              up vote
              19
              down vote



              accepted







              up vote
              19
              down vote



              accepted






              If you are trying to this on a Windows computer, unfortunately it is not possible out of the box. You will need to install some additional software that will capture data on the loopback interface.



              On a Linux computer, you will need to capture from the loopback interface which is lo most of the time. Most other Unix operating systems use lo0.






              share|improve this answer














              If you are trying to this on a Windows computer, unfortunately it is not possible out of the box. You will need to install some additional software that will capture data on the loopback interface.



              On a Linux computer, you will need to capture from the loopback interface which is lo most of the time. Most other Unix operating systems use lo0.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited May 7 at 19:05









              cybermonkey

              97552358




              97552358










              answered Nov 21 '12 at 3:03









              yayay

              30623




              30623
























                  up vote
                  4
                  down vote













                  Although you found the answer before I could respond, you can also use Socket Sniffer, which looks at Winsock calls and monitors network sockets; the download link is at the bottom of the page.






                  share|improve this answer

























                    up vote
                    4
                    down vote













                    Although you found the answer before I could respond, you can also use Socket Sniffer, which looks at Winsock calls and monitors network sockets; the download link is at the bottom of the page.






                    share|improve this answer























                      up vote
                      4
                      down vote










                      up vote
                      4
                      down vote









                      Although you found the answer before I could respond, you can also use Socket Sniffer, which looks at Winsock calls and monitors network sockets; the download link is at the bottom of the page.






                      share|improve this answer












                      Although you found the answer before I could respond, you can also use Socket Sniffer, which looks at Winsock calls and monitors network sockets; the download link is at the bottom of the page.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Nov 21 '12 at 9:44









                      Mike Pennington

                      1,68212030




                      1,68212030






















                          up vote
                          2
                          down vote













                          To keep this current, as hsluoyz said, install npcap



                          http://wiki.wireshark.org/CaptureSetup/Loopback




                          When installed on Windows Vista or later (including Win7, Win8 and
                          Win10) with option "Support loopback traffic ("Npcap Loopback Adapter"
                          will be created)" selected, it will create an Npcap Loopback Adapter
                          that can be selected in Wireshark so as to capture IPv4/IPv6 loopback
                          traffic.







                          share|improve this answer

























                            up vote
                            2
                            down vote













                            To keep this current, as hsluoyz said, install npcap



                            http://wiki.wireshark.org/CaptureSetup/Loopback




                            When installed on Windows Vista or later (including Win7, Win8 and
                            Win10) with option "Support loopback traffic ("Npcap Loopback Adapter"
                            will be created)" selected, it will create an Npcap Loopback Adapter
                            that can be selected in Wireshark so as to capture IPv4/IPv6 loopback
                            traffic.







                            share|improve this answer























                              up vote
                              2
                              down vote










                              up vote
                              2
                              down vote









                              To keep this current, as hsluoyz said, install npcap



                              http://wiki.wireshark.org/CaptureSetup/Loopback




                              When installed on Windows Vista or later (including Win7, Win8 and
                              Win10) with option "Support loopback traffic ("Npcap Loopback Adapter"
                              will be created)" selected, it will create an Npcap Loopback Adapter
                              that can be selected in Wireshark so as to capture IPv4/IPv6 loopback
                              traffic.







                              share|improve this answer












                              To keep this current, as hsluoyz said, install npcap



                              http://wiki.wireshark.org/CaptureSetup/Loopback




                              When installed on Windows Vista or later (including Win7, Win8 and
                              Win10) with option "Support loopback traffic ("Npcap Loopback Adapter"
                              will be created)" selected, it will create an Npcap Loopback Adapter
                              that can be selected in Wireshark so as to capture IPv4/IPv6 loopback
                              traffic.








                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Jul 21 '16 at 23:07









                              KCD

                              2651311




                              2651311






















                                  up vote
                                  0
                                  down vote













                                  Use RawCap, to capture traffic of localhost (127.0.0.1). You just need to download Rawcap.exe and run it. It will open its command prompt listing interfaces. Now select one of the interface which has loopback address 127.0.0.1.






                                  share|improve this answer








                                  New contributor




                                  Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                  Check out our Code of Conduct.






















                                    up vote
                                    0
                                    down vote













                                    Use RawCap, to capture traffic of localhost (127.0.0.1). You just need to download Rawcap.exe and run it. It will open its command prompt listing interfaces. Now select one of the interface which has loopback address 127.0.0.1.






                                    share|improve this answer








                                    New contributor




                                    Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.




















                                      up vote
                                      0
                                      down vote










                                      up vote
                                      0
                                      down vote









                                      Use RawCap, to capture traffic of localhost (127.0.0.1). You just need to download Rawcap.exe and run it. It will open its command prompt listing interfaces. Now select one of the interface which has loopback address 127.0.0.1.






                                      share|improve this answer








                                      New contributor




                                      Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.









                                      Use RawCap, to capture traffic of localhost (127.0.0.1). You just need to download Rawcap.exe and run it. It will open its command prompt listing interfaces. Now select one of the interface which has loopback address 127.0.0.1.







                                      share|improve this answer








                                      New contributor




                                      Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.









                                      share|improve this answer



                                      share|improve this answer






                                      New contributor




                                      Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.









                                      answered 2 days ago









                                      Kinjal

                                      1




                                      1




                                      New contributor




                                      Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.





                                      New contributor





                                      Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.






                                      Kinjal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.






























                                           

                                          draft saved


                                          draft discarded



















































                                           


                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f508623%2fhow-can-i-see-127-0-0-1-traffic-on-windows-using-wireshark%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                          Mangá

                                           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕