473,775 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

lists of open ports

Hello everyone,

I am using .net remoting. Is there any way to find out the list of open
ports.

Thanks.
Jun 4 '07 #1
3 3550
Vinki,

No, there is no discovery service when using remoting. You have to know
the endpoint information beforehand.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Vinki" <Vi***@discussi ons.microsoft.c omwrote in message
news:CB******** *************** ***********@mic rosoft.com...
Hello everyone,

I am using .net remoting. Is there any way to find out the list of open
ports.

Thanks.

Jun 4 '07 #2
Well,
how many "open ports" do you think you need? One? Maybe two?

Just pick a high number above the 1024 standard port range such as 54321.
Odds are very rare that it will be in use by another process.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Vinki" wrote:
Hello everyone,

I am using .net remoting. Is there any way to find out the list of open
ports.

Thanks.
Jun 4 '07 #3

"Vinki" <Vi***@discussi ons.microsoft.c omwrote in message
news:CB******** *************** ***********@mic rosoft.com...
Hello everyone,

I am using .net remoting. Is there any way to find out the list of open
ports.
You have 65,535 ports. Ports 1024 and below are resserved and there are some
ports that are reserved above 1024 like SQL Server 1432-1433.

Now, if there is nothing running on the machines using the high ports above
1024, then they are open ports you can use.

http://support.microsoft.com/kb/174904

Jun 4 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1774
by: BadOmen | last post by:
I am making my first simple chat program using winsock. Now I want to see which ports that are open. Is there any program that can show me that? It would be nice to see which ports are open and which program that uses it. Yours, Jonas
0
469
by: Cliff | last post by:
I need to get a list of "Open"/In-Use TCP Ports (actually to see if there is a cponnection with a destination Port of 21) I think what I'm after is similar to the output of netstat. I could run netstat and parse the output, but I'd prefer not to as I'm going to be doing this in a service and it needs to monitor the ports every few seconds. Any advice on how I can do it.
7
1346
by: David Garamond | last post by:
Would someone mind divulging the size (= number of members) of the @postgreql.org mailing lists (particularly pgsql-general and pgsql-hackers)? To tell you the truth, I've always got good responses from this list. Apparently most other question posts do too. There seems to be always someone knowledgeable to answer questions, which is very very nice :-) -- dave
1
1596
by: prabhupr | last post by:
Hi Is there any easy way to find out if there are any OPEN Ports on a BOX that are threat to the system
0
1327
by: Suman | last post by:
Hi All, &nbsp; &nbsp;I am trying out a web based chat-server program on a server machine. I opened few PORTS during my trial runs and somehow the telnet session got crashed and I couldn't explicitly close the PORTs. Now when I try my program I get the following error http://152.69.155.107/chatserver2.php &lt;&lt;
3
15457
by: Mugunth | last post by:
Hi, I've a strange problem with serial port class of .NET Framework 2.0 I use com0com (Null Modem COM Port emulator) to emulate a virtual port. This application creates virtual com port pairs with starting with CNCA0 <-CNCB0 CNCA1<-CNCB1 etc., When I created a port with this name and try to open it using SerialPort.Open,
4
2041
by: Pseudonyme | last post by:
A Paris Le 14 Nv MMVII Dear Madam and Sir, Do you know how to access a MYSQL DB from an external server ? We read the information and studied :
1
4132
by: Laszlo Nagy | last post by:
Hi All, I'm using a simple program that uploads a file on a remote ftp server. This is an example (not the whole program): def store(self,hostname,username,password,destdir,srcpath): self.ftp = ftplib.FTP(hostname) self.ftp.login(username,password) self.ftp.set_pasv(False)
13
8998
by: Alan Wright | last post by:
Hi Folks, I am newbie to Python, but have successfully created a simple client and server setup, I have one issue though. I am trying to test a box by sending many TCP conns (WHILE loop) but not closing them with a FIN/RST. However, no matter what i do, i cannot get the loop to stop sending FIN from the client. Any clues?
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9915
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5358
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.