G
gentlerobbin
Does anyone jnow which ports and protocol(tcp or udp) Ado.Net uses?
Can Ichange it and how?
Regards
Ragid
The pretty 80, just my random guess if that is going to soothe your
feeling.
Does anyone jnow which ports and protocol(tcp or udp) Ado.Net uses?
Can Ichange it and how?
Regards
Ragid
Does anyone jnow which ports and protocol(tcp or udp) Ado.Net uses?
Can Ichange it and how?
Regards
Ragid
Ragid said:Does anyone jnow which ports and protocol(tcp or udp) Ado.Net uses?
Can Ichange it and how?
Ragid said:Does anyone jnow which ports and protocol(tcp or udp) Ado.Net uses?
Can Ichange it and how?
ADO.NET itself doesn't use any ports. You could, for instance, create a
DataTable in memory and manipulate it in code without ever using any portat
all.
If you use ADO.NET to connect to a database, then the ports used would
depend on the database client. For instance, if you use the OleDb client to
access the JET engine to open an Access database, then no ports will be used
(if it is a local file), since the file wll be opened locally on the
filesystem.
If you use the SqlClient to access a SQL Server database, thenthe
ports in use will depend on the connection string and the configuration of
the Sql client. If you connect to "(local)", then the shared memory provider
will be used, which doesn't use any tcp or udp ports. On the other hand, if
you connect to a given server, and the client is installed with its default
configuration, it will attempt to connect on port TCP 1433. This can be
changed with the Sql Server configuration tools, but note that this happens
entirely outside of ADO.NET.
ADO.NET itself doesn't use any ports. You could, for instance, create a
DataTable in memory and manipulate it in code without ever using any portat
all.
If you use ADO.NET to connect to a database, then the ports used would
depend on the database client. For instance, if you use the OleDb client to
access the JET engine to open an Access database, then no ports will be used
(if it is a local file), since the file wll be opened locally on the
filesystem.
If you use the SqlClient to access a SQL Server database, thenthe
ports in use will depend on the connection string and the configuration of
the Sql client. If you connect to "(local)", then the shared memory provider
will be used, which doesn't use any tcp or udp ports. On the other hand, if
you connect to a given server, and the client is installed with its default
configuration, it will attempt to connect on port TCP 1433. This can be
changed with the Sql Server configuration tools, but note that this happens
entirely outside of ADO.NET.