Windows 10: Access Samba server on different port

Discus and support Access Samba server on different port in Windows 10 Ask Insider to solve the problem; Hi! I need to access a samba server running on port 22139 on Windows. On Linux, it works with the following command: sudo mount -o... Discussion in 'Windows 10 Ask Insider' started by /u/_thetek_, Mar 11, 2021.

  1. Access Samba server on different port


    Hi!

    I need to access a samba server running on port 22139 on Windows. On Linux, it works with the following command: sudo mount -o username=user,password=pass,port=22139,uid=1000,gid=1000 //mywebsite/folder /mnt/share. This will mount the samba server on port 22139 to /mnt/share.

    The problem is that Windows does not support ports other than 139 and 445 for samba shares. I have tried everything I found so far, including remapping the port with tools such as rinetd.

    Does anyone have an idea how to do this? Thanks in advance for the help!

    submitted by /u/_thetek_
    [link] [comments]

    :)
     
    /u/_thetek_, Mar 11, 2021
    #1
  2. tritron Win User

    samba/server 2008R2

    What is faster samba or server 2008 R2 for file sharing ?
     
    tritron, Mar 11, 2021
    #2
  3. Windows 10 having trouble access samba shared with upper case name

    I have several windows 10 computer on the LAN and a linux file server with a samba share. On two laptops, when I open the file explorer, it list all the computers on the network, including the samba server, all in upper case, both on the left hand side
    panel and also in the top right side 'Computers' section.

    When I click these computer names, most of them work as expected, asks credential and then let me access shared drive. Only on the samba server, when I click on it's name, it always shows an error message: "Windows cannot access \\SERVER" where server is
    the name of the samba server. In the details box, it shows an error code '0x80070035', the network path was not found.

    But, if I type \\SERVER (in upper or lower case) into the address bar in the file explorer, it works as expected, shows me all the shared contents from the server. And also, after this initial connection, clicking on the upper case SERVER name on the left
    side panel works.
     
    John2019_385, Mar 11, 2021
    #3
  4. cao ping Win User

    Access Samba server on different port

    Network credential prompt while accessing a public share path hosted by samba

    The network topology is as follows:


    Access Samba server on different port 882f6531-8d67-4f75-99e3-ecffd4485507?upload=true.png


    1, samba server (the share is public)

    2, pc1 (win10)

    3, pc2 (win10)

    4, pc3 (win10)

    While accessing samba server from pc1 and pc2, there is no network credential prompt.

    While accessing samba server from pc3, I will be prompted with the following popup box.


    Access Samba server on different port 16c52eb9-c429-4d44-85e4-dc43caaad320?upload=true.png


    I can give any valid character in the user name form and login successfully (ofc, it should, cuz it's a public share) .

    It is a little strange that why pc1, pc2 do not prompt, but pc3 prompt.

    I captured network traffic to check what happened there by wireshark, the capture result shows that both pc1 and pc2 would try logon on to samba by windows account after the message of NTLMSSP_NEGOTIATE, but pc3 would not try to logon on samba server, so
    win10 RST the connection and prompt the credential box.

    I checked windows credentials on pc1, pc2, pc3, there is no credential for the samba server.

    If a add a credential for samba on pc3 by windows credential manager, the prompt would not appear(on pc1, pc2, I do not need to do this step)

    Does any one know what the problem there ? I don't want to see the credential prompt, I don't want to add any credential to trick this problem either .

    Any suggestion is appreciate , Thanks.
     
    cao ping, Mar 11, 2021
    #4
Thema:

Access Samba server on different port

Loading...
  1. Access Samba server on different port - Similar Threads - Access Samba server

  2. Why is it so difficult to connect to a Samba server?

    in Windows 10 Gaming
    Why is it so difficult to connect to a Samba server?: First, I can't find it in the network storage area so I need to install wsdd. Then, it won't let me specify a custom username or password. It can't be that hard to implement something that your competitors have been able to do since 2009... Unless, I'm doing something wrong....
  3. Why is it so difficult to connect to a Samba server?

    in Windows 10 Software and Apps
    Why is it so difficult to connect to a Samba server?: First, I can't find it in the network storage area so I need to install wsdd. Then, it won't let me specify a custom username or password. It can't be that hard to implement something that your competitors have been able to do since 2009... Unless, I'm doing something wrong....
  4. Accessing file server through different name

    in Windows 10 Gaming
    Accessing file server through different name: Dear All,Currently i am accessing my file server through server name and are SSO through kerberos. Recently, i have onboarded a GSLB solution which are supposed to failover between my DC and DR. however i get an error when i perform the failover. upon troubleshooting, i...
  5. Accessing file server through different name

    in Windows 10 Software and Apps
    Accessing file server through different name: Dear All,Currently i am accessing my file server through server name and are SSO through kerberos. Recently, i have onboarded a GSLB solution which are supposed to failover between my DC and DR. however i get an error when i perform the failover. upon troubleshooting, i...
  6. How can I access a samba server by selecting the port on windows 10

    in Windows 10 Network and Sharing
    How can I access a samba server by selecting the port on windows 10: Hi maybe this simple but I didn't find the answer on google but if i want to connect to a samba server I just have to go on file explorer and input \\serveradress\ but to connect online I have to select a port but If I put \\serveradress:port\ it doesn't work. sorry english...
  7. Samba in linux can't be accessed with windows 10, but another pc can access samba.

    in Windows 10 Network and Sharing
    Samba in linux can't be accessed with windows 10, but another pc can access samba.: Hello, I am trying to make a samba server in pop!_os, I've tried connecting to samba with my Asus N43SL and it worked, but when I tried it on the Lenovo V330-14kb it doesn't work, I tried the troubleshooter, but it doesn't do anything....
  8. Cannot access Samba share

    in Windows 10 Network and Sharing
    Cannot access Samba share: Hi, I have a few Windows 10 computers and some linux computers on my network. I use Samba to enable sharing between the Windows and Linux computers. On one of the Windows computer I have a Storage Spaces drive set up as a Samba share. I can access some of the folders on this...
  9. XP and NAS (Samba) access

    in Windows 10 Virtualization
    XP and NAS (Samba) access: Hi folks If you use XP VM's there can sometimes be a problem with connecting TO a Linux / samba NAS. Connecting FROM the NAS is OK as is connecting to or from other Windows Hosts / guests. In your smb.config file add [global] lanman auth=yes ntlm auth=yes Now it works...
  10. Can't access Samba shares on 10049

    in Windows 10 Network and Sharing
    Can't access Samba shares on 10049: I just reinstalled after I was having issues. Everything seems to be working smoothly, except that I can't access the shares on all but one of my other computers for some reason. Most devices that aren't running either some flavor of Windows or Samba show up just fine. I...