Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
Oracle uses port 1521. SQL Server uses port 1433. Why doesn't SQL Server also just use port 1521?
Specifically, I'm asking why SQL Server defaults to port 1433 and not another port.
You've got it the wrong way round.
1433 is the registered port for SQL Server.
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt
The question should be, why does Oracle habitually use 1521
Mostly using standard ports makes it easier to configure firewalls.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was doing a simple server client console chat box in winsock2.Then my colleague asked me if i can do a single server multi client connection in which the SERVER will be in TCP and the CLIENTS will be in UDP. Also the client does not know the IP of the server but knows the port number i.e the Client has to search for the server and then connect it.All this over a LAN.
Could any one tell me how to do such program or if possible could post a code for reference.
TCP and UDP are 2 completely separated worlds.
No, you can't have a TCP server communicating with UDP clients.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I was install oracle 11g in my windows server 2008 workstation. After I try to configure oracle net server with port number 1521 . But ONS error say to me as a "use other port this port is already user". PLs tell me how i solve this problem
This is a screen shot.
https://drive.google.com/file/d/0B_sjxK048-u8dkpoZnd3V3RQUjA/view?usp=sharing
some other service is listening on port 1521.
open an terminal and type
netstat -a -n -o
it prints a list with tcp port and pid,
lookup the pid in the taskmanager,
then you can reconfigure the service or remove the service.
you may also consider to use a different port for your oracle database (simplest solution)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
There is not route between the web server (CentOS, 192.168.10.100) and the SQL Server (192.168.12.200).
I have installed tiny_tds on the web server. Which network ports are required to add to the routes in order for tiny_tds to read/write SQL Server data?
By default SQL Server runs on 1433 port but you can configure that in SQL Server Configuration Manager.
Go to SQL Server Network Configuration -> {PInstance} -> TCP / IP and you’ll see a list of IP addresses and ports SQL Server is configured to use by default. Make sure that IP address you are using to reach SQL Server is enabled in SQL Server Config manager.
If this still doesn’t work you might want to check connection string and/or post some code here.
The default SQL Server port is 1433, and client ports are assigned a random value between 1024 and 5000.
http://support.microsoft.com/kb/287932
tiny_tds follows the default ports.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My problem is that I can't connect to any SQL Server instance installed on our server (it has both 2008 and 2012) using dynamic ports. Static ports works well. Also, if you mention dynamic port number in connection string, you can connect. But connection failed (regular error "Network or instance-specific...") with named instance without port number.
I found the solution - run sqlbrowser.exe -c on the server. After that everything works until server restarts. How to solve or diagnose it?
P.S. Firewall is OFF.
EDIT:
Also, when I'm closing this tool, it becomes inavaliable again. I'm not always connected to server with remote desktop. Now it works only when I connected and started this tool. Looks not OK for me.
If you want to connect to an instance without a port number, then the browser service must be running. The fix is simple. Set the browser service to start automatically in the services console or in SQL Server Configuration Manager.
With dynamic ports, the port number will change every time you restart the server.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've tried to connect to an SQL Server via WAN using as servername my WAN IP (in my case, a domain) but I can't do that when I can via LAN.
How can I fix that?
Can you be more specific?
How are you connecting to the server? Which language are you using? Can you paste the IP of both machines?
I'm not sure if you are using the right IP, but one thing to remember in networking is that "your own network does not know itself"; what I mean is that, supposing I have 64.148.129.89 as public IP, if I try to connect to that IP from any computer on my network, I will get the "Not Found Error" or a "Timeout Error."
Why? Well, simply because DNS doesn't make a U turn: After it bubles up outside of your network, it won't point back to the same spot.
What's the solution you say?
Use your local intranet IP to connect between machines. An example of intranet IP is 192.168.2.1 which usually points to your default gateway.