cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Chris1
Engaged Sweeper III
Hello,

How do I go about tweaking lansweeper database connectivity to utilize a custom port number instead of using tcp 1433?

I need to utilize a high level port per my IT Security team.

I appreciate your assistance!
1 ACCEPTED SOLUTION
Bart_E
Lansweeper Employee
Lansweeper Employee
First, you'll need to configure your SQL server to listen to a specific port by using 'SQL Server Configuration Manager'. Afterwards, you'll need to edit the files below:

Program Files (x86)\Lansweeper\Service\Lansweeperservice.exe.config
Program Files (x86)\Lansweeper\Website\web.config


Within these files, you'll need to search for your SQL instance name and add the custom port number after it using a comma.

Source=localhost\SQLEXPRESS,portnumber


View solution in original post

1 REPLY 1
Bart_E
Lansweeper Employee
Lansweeper Employee
First, you'll need to configure your SQL server to listen to a specific port by using 'SQL Server Configuration Manager'. Afterwards, you'll need to edit the files below:

Program Files (x86)\Lansweeper\Service\Lansweeperservice.exe.config
Program Files (x86)\Lansweeper\Website\web.config


Within these files, you'll need to search for your SQL instance name and add the custom port number after it using a comma.

Source=localhost\SQLEXPRESS,portnumber