Подключение к Linux

This commit is contained in:
Илья 2024-05-08 01:34:18 +04:00
parent a9f8d481df
commit 0bdd4f8f99

View File

@ -6,7 +6,7 @@ namespace ElectronicDiaryPostgresImplementation
{
public static NpgsqlConnection GetConnection()
{
return new NpgsqlConnection("Host=localhost;Port=5432;Username=postgres;Database=diary_db;Password=bythop423956");
return new NpgsqlConnection("Host=192.168.56.103;Port=5432;Username=postgres;Database=diary_db;Password=bythop423956");
}
}
}