Networking Forums

Networking Forums > Computer Networking > Windows Networking > slow access using port 445

Reply
Thread Tools Display Modes

slow access using port 445

 
 
Chris
Guest
Posts: n/a

 
      05-26-2009, 10:44 PM
server A runs an application to process a file on server B. It generates
lots of traffic back and forth between both servers. Server A and Server B
are on LAN. Server C is across WAN. When server A ran the process it
connected to server B using netbios-ssn on port 139. It took about 1 minute.
When server C ran the process (across WAN) it connected to server B using
microsoft-ds (SMB on TCP) on port 445. It was very slow, took almost 20
minutes.

Have no idea what cause the slowness. Is that expected using port 445? Or
does the port make any difference?

Using MS network monitor I also saw that when using port 139 the process
went through 90-100 items each time instead 8 when using port 445.

Thanks in advance.
 
Reply With Quote
 
 
 
 
Chris
Guest
Posts: n/a

 
      05-26-2009, 10:56 PM
P.S. I also realized that when mapping a drive across WAN it uses port 445
for connection. Is that correct? Or port 139 is blocked. My network admin
told me that we don't block any port for LAN and WAN.

"Chris" wrote:

> server A runs an application to process a file on server B. It generates
> lots of traffic back and forth between both servers. Server A and Server B
> are on LAN. Server C is across WAN. When server A ran the process it
> connected to server B using netbios-ssn on port 139. It took about 1 minute.
> When server C ran the process (across WAN) it connected to server B using
> microsoft-ds (SMB on TCP) on port 445. It was very slow, took almost 20
> minutes.
>
> Have no idea what cause the slowness. Is that expected using port 445? Or
> does the port make any difference?
>
> Using MS network monitor I also saw that when using port 139 the process
> went through 90-100 items each time instead 8 when using port 445.
>
> Thanks in advance.

 
Reply With Quote
 
Ace Fekay [Microsoft Certified Trainer]
Guest
Posts: n/a

 
      05-28-2009, 04:07 AM
"Chris" <(E-Mail Removed)> wrote in message news:7B70F065-4921-426F-867F-(E-Mail Removed)...
> P.S. I also realized that when mapping a drive across WAN it uses port 445
> for connection. Is that correct? Or port 139 is blocked. My network admin
> told me that we don't block any port for LAN and WAN.
>
> "Chris" wrote:


DirectSMB (port 445) is what provides support in an environments without NetBIOS. It shouldn't take that long to connect.

Is your environment using WINS? Run an ipconfig /all and see if there's a WINS address.

When you open Network Neighborhood, can you see ServerC across the WAN?

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSA Messaging, MCT
Microsoft Certified Trainer
(E-Mail Removed)

For urgent issues, you may want to contact Microsoft PSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

"Efficiency is doing things right; effectiveness is doing the right things." - Peter F. Drucker
http://twitter.com/acefekay




 
Reply With Quote
 
Chris
Guest
Posts: n/a

 
      05-28-2009, 02:31 PM
Ace,
We don't use WINS. I have no problem to map a drive to ServerC across
WAN. But I can't see ServerC in Network Neighborhood across WAN. I guess
it's because we don't use WINS and routers blocked broadcasting.

I have tried to disable port 445 on ServerB that made RPC shut down so can't
connect to it using UNC anymore. So, that's didn't work.

Then I tried to disable Netbios Over IP. It disabled port 139. All
connections to ServerB were using Microsoft-DS, which is on port 445. That
made no difference for the process, either on LAN or WAN.

I'll try to set up lmhost on each server see if it makes any difference. I
also think my problem is due to the network latency on WAN. How can I check
what is my latency and if it's normal or not?

Thanks.

"Chris" wrote:

> P.S. I also realized that when mapping a drive across WAN it uses port 445
> for connection. Is that correct? Or port 139 is blocked. My network admin
> told me that we don't block any port for LAN and WAN.
>
> "Chris" wrote:
>
> > server A runs an application to process a file on server B. It generates
> > lots of traffic back and forth between both servers. Server A and Server B
> > are on LAN. Server C is across WAN. When server A ran the process it
> > connected to server B using netbios-ssn on port 139. It took about 1 minute.
> > When server C ran the process (across WAN) it connected to server B using
> > microsoft-ds (SMB on TCP) on port 445. It was very slow, took almost 20
> > minutes.
> >
> > Have no idea what cause the slowness. Is that expected using port 445? Or
> > does the port make any difference?
> >
> > Using MS network monitor I also saw that when using port 139 the process
> > went through 90-100 items each time instead 8 when using port 445.
> >
> > Thanks in advance.

 
Reply With Quote
 
Ace Fekay [Microsoft Certified Trainer]
Guest
Posts: n/a

 
      05-28-2009, 07:35 PM
"Chris" <(E-Mail Removed)> wrote in message news:F4C76E34-5791-4D86-8C84-(E-Mail Removed)...
> Ace,
> We don't use WINS. I have no problem to map a drive to ServerC across
> WAN. But I can't see ServerC in Network Neighborhood across WAN. I guess
> it's because we don't use WINS and routers blocked broadcasting.
>
> I have tried to disable port 445 on ServerB that made RPC shut down so can't
> connect to it using UNC anymore. So, that's didn't work.
>
> Then I tried to disable Netbios Over IP. It disabled port 139. All
> connections to ServerB were using Microsoft-DS, which is on port 445. That
> made no difference for the process, either on LAN or WAN.
>
> I'll try to set up lmhost on each server see if it makes any difference. I
> also think my problem is due to the network latency on WAN. How can I check
> what is my latency and if it's normal or not?


I'm suprised you are not using WINS in a multi-subnetted environment. It is rather simple to setup, much easier than dealing with lmhosts files. THis is why you can't see the other subnet(s) in the neighborhood. And you don't want to disable 445. It is a necessary port.

As for latency, you will need to setup an app that will pull data from your routers, such as PRTG and analyze it based on what the connectionj speed is and what you are actually seeing.
http://www.paessler.com/prtg/?utm_ca...FRSfnAodaj-QzQ

Ace
 
Reply With Quote
 
Chris
Guest
Posts: n/a

 
      05-28-2009, 07:54 PM
Thanks. I'll play with prtg.

"Ace Fekay [Microsoft Certified Trainer]" wrote:

> "Chris" <(E-Mail Removed)> wrote in message news:F4C76E34-5791-4D86-8C84-(E-Mail Removed)...
> > Ace,
> > We don't use WINS. I have no problem to map a drive to ServerC across
> > WAN. But I can't see ServerC in Network Neighborhood across WAN. I guess
> > it's because we don't use WINS and routers blocked broadcasting.
> >
> > I have tried to disable port 445 on ServerB that made RPC shut down so can't
> > connect to it using UNC anymore. So, that's didn't work.
> >
> > Then I tried to disable Netbios Over IP. It disabled port 139. All
> > connections to ServerB were using Microsoft-DS, which is on port 445. That
> > made no difference for the process, either on LAN or WAN.
> >
> > I'll try to set up lmhost on each server see if it makes any difference. I
> > also think my problem is due to the network latency on WAN. How can I check
> > what is my latency and if it's normal or not?

>
> I'm suprised you are not using WINS in a multi-subnetted environment. It is rather simple to setup, much easier than dealing with lmhosts files. THis is why you can't see the other subnet(s) in the neighborhood. And you don't want to disable 445. It is a necessary port.
>
> As for latency, you will need to setup an app that will pull data from your routers, such as PRTG and analyze it based on what the connectionj speed is and what you are actually seeing.
> http://www.paessler.com/prtg/?utm_ca...FRSfnAodaj-QzQ
>
> Ace
>

 
Reply With Quote
 
Ace Fekay [Microsoft Certified Trainer]
Guest
Posts: n/a

 
      05-28-2009, 08:52 PM
"Chris" <(E-Mail Removed)> wrote in message news8B555FC-8C1E-45F2-83CB-(E-Mail Removed)...
> Thanks. I'll play with prtg.


You are welcome!

Ace



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
many (75) port 445 connections = slow kcm Windows Networking 0 01-28-2008 03:45 PM
Exceptionally slow ping times, slow DNS lookup and slow download on router Martin Underwood Broadband 1 01-24-2007 12:05 AM
port 110 very slow Peter Lowrie Linux Networking 7 09-12-2006 02:13 PM
port 119 slow WeeWillyTonka Broadband 2 07-03-2005 03:53 PM
Terminal Svcs - Slow printing from COM port Brint Hite Windows Networking 0 02-17-2004 08:09 PM



1 2 3 4 5 6 7 8 9 10 11