Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calls made to random port (1128, 1129) #40

Open
talibnawaz opened this issue Mar 14, 2024 · 2 comments
Open

Calls made to random port (1128, 1129) #40

talibnawaz opened this issue Mar 14, 2024 · 2 comments

Comments

@talibnawaz
Copy link

talibnawaz commented Mar 14, 2024

Our Open Edge Progress database is behind a firewall and is accessible on port 10100. But regardless of giving the port number in the connection string, we have noticed that additional calls are being made to random ports, e.g. 1128 and 1129 in the screenshot below that are blocked by the firewall.

image

Here's my code:

var builder = new JdbcConnectionStringBuilder
{
    FetchSize = -1,
    DriverPath = "mydriver.jar",
    DriverClass = "com.ddtek.jdbc.openedge.OpenEdgeDriver",
    JdbcUrl = "jdbc:datadirect:openedge://132.42.1.41:10100;databaseName=mydb;user=myuser;password=mypwd;"
};
Console.WriteLine(sql);
var connection = new JdbcConnection(builder);
connection.Open();

Since the subsequent calls to random port numbers are blocked, we never get a response back.
Is there a way to control which port numbers will the library call?

@talibnawaz
Copy link
Author

@tcables please help

@tcables
Copy link
Contributor

tcables commented Mar 29, 2024

@talibnawaz I'm sorry I'm not a primary developer, I just contributed once and answered a couple questions. I would recommend downloading the codebase, adding it to your solution, referencing it directly instead of the nuget package and stepthrough the code and see maybe where it could be coming from. otherwise if you do not find it, it could be the jar file. BUT I am not very familiar with this codebase. maybe @iodes or @evan-choi could shed some light if they have a moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants