Why does windows (file) explorer try to connect to port 80 (http) instead just using smb?

10,431

Solution 1

Turned out to be that "Client for Microsoft Networks" in "Local Area Connection Properties" had been uninstalled.

The way we discovered it was by making an educated guess into what settings could cause the problem and comparing settings from a working pc then looking into the differences we found.

After finding the cause the solution was to reinstall it: click the "Install..." button, chose Client in the list and follow the wizard.

Solution 2

If you believe it is WebDAV, have you tried disabling WebDAV client?

Services.msc -> webclient -> Stop/Disable

Also it's never a bad idea to use Process Monitor from SysInternals to see whats going on behind the scenes when something isnt performing as expected.

Share:
10,431

Related videos on Youtube

Erik I
Author by

Erik I

System Engineer ++

Updated on September 18, 2022

Comments

  • Erik I
    Erik I almost 2 years

    Background:

    On an almost freshly installed pc I get a message along the lines of : "windows cannot find some-file-server-name. Check the spelling and try again"... when trying to access any fileshare.

    Troubleshooting so far:

    • pinging works. Both by ip and by name
    • the almost identical pc next to this one can access the file server
    • everyone else can access the file server
    • the pc in question can not access other open fileshares
    • but it can connect to the internet

    And now for what I think is the interesting part:

    • running wireshark with ip.addr == local.ip.add.ress and ip.addr == server.ip.add.ress tells me that it tries to connect over http.
    • the server replies but after a few messages back and forth it stops
    • the other machine of course just uses smb

    I guess port 80 just means it defaults to webdav, but I haven't been able to find anything that can cause this.

    Googling it the closest thing I found was this http://www.techrepublic.com/article/get-vista-and-samba-to-work/6353849 but then again this was an XP pc and I wasn't able to connect to other native Windows shares (and I tried the solution anyway and it didn't work.)

    • joeqwerty
      joeqwerty about 12 years
      Use Microsoft Network Monitor to capture the traffic between the two to verifiy which process is trying to access/connect to the server.
    • Erik I
      Erik I about 12 years
      Is there anything to Microsoft Network Monitor that wireshark hasn't except the fact that it lists the local process? (for what I know Wireshark might have this possibility too.)
    • Erik I
      Erik I about 12 years
      OK, it was late in the night yesterday and I felt MNM wasn't too user friendly but I'll definitely add it to my tools. Thanks!