I have a configuration for connecting to a SQL Server on my local machine. While trying to connect from docker container, I get below error:
Error: Java::ComMicrosoftSqlserverJdbc::SQLServerException: The port number 101.10.175.11:49172 is not valid.
Exception: Sequel::DatabaseConnectionError
I have created inbound/outbound rules in my Windows Firewall Settings to accept connections for/from this port.
Can anyone help me understand what's going wrong?
It worked.
Actually initially my sql server was not connecting from any other machine in network. So I open all ports to access and was able to connect by adding a "tcp:" in front of hostname. But somehow I suppose that's not required in the configuration file.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.