Computing.Net > Forums > Networking > TCP ports for sharing files?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

TCP ports for sharing files?

Reply to Message Icon

Name: Magnus Olsson
Date: March 30, 2001 at 00:14:52 Pacific
Comment:

Hi!

I have tried to find this info myself but I am not 100% sure, so I post here and hope you can help me!

We are running a small LAN with approx 10 clients. We have a pc running win 2k pro, which we use as a fileserver. (we have set up some shares). The pc is runing TCP/IP with IP Address: 192.168.1.101, Subnet: 255.255.255.0. All computers including the one we use as a server are using 192.168.1.1 as default gateway (to access the Internet), which is a lucent DSL Router, provided by our ISP. The router has a public, static IP Address.

Question: Which ports (TCP/UDP) do I have to open in the router to be able to connect and map to the server from outside our LAN = Internet?

I know this is not the best solution in a matter of security, but our boss has decided that we should not use a VPN - please don't ask why.. to much of politics =)

So.. I thought we had to open.. TCP: 137, 138, 139 and UDP: 137, 138, 139. But I have found out that there is a port called 445 (TCP+UDP) aswell.. what is that? And what port(s) are 'nbtstat -a IP ADDRESS' using? If I am on a client on the LAN I can write: 'nbtstat -a 192.168.1.101' and get a listing of registered names, but when I try from another computer on the Internet, using 'nbtstat -a "our public ip"' it doesn't work, so.. to sum up:

What ports do we have to specify in our router to be able to connect to our win 2k pro server, from not only win 2k pro clients, but also win 9x!

Ps. I have checked the 'services' file to find out about ports, but I am not sure that the file has the correct information, cause when looking in the 'services' file on a win 9x system, it looks somewhat different.

Thanks so much in advance!

Best Regards,
Magnus Olsson
Sweden
magnus@olssonsolutions.com



Sponsored Link
Ads by Google

Response Number 1
Name: techtony
Date: March 31, 2001 at 12:21:53 Pacific
Reply:

Standard mapping would require Netbios which is blocked from the Net. Best bet: install ftp server on the server and client on the client. Then you only have to permit any host serverip eq ftp on the router and the software will password protect.


0

Response Number 2
Name: Visitor
Date: July 20, 2001 at 22:54:56 Pacific
Reply:

isn't 135 netbiosns? 135 controls netbios query/response calls. 135 and 139 are the two common ports. Netbios is not a routable protocol but it is encapsulated in tcp/ip in windows systems.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: TCP ports for sharing files?

Share files using TCP/IP www.computing.net/answers/networking/share-files-using-tcpip/4157.html

Opening Com Ports for P2P sharing www.computing.net/answers/networking/opening-com-ports-for-p2p-sharing/23772.html

port # for aim www.computing.net/answers/networking/port-for-aim/11416.html