Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Add Infobase located on 1C:Enterprise server

Forum

Search UsersRules
Add Infobase located on 1C:Enterprise server
#1
Active user
Points:: 0
Joined:: May 21, 2023

On local computer I am trying to add Infobase located on 1C:Enterprise server installed on virtual machine with Ubuntu OS hosted in the cloud of my hosting provider and so far no luck. What's wrong?

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

Peter,

have you solved this problem or not yet?

Profile
#3
Active user
Points:: 0
Joined:: May 21, 2023

No. This particular problem I couldn't solve. Can not connect from local computer to remote DB hosted in the cloud.

Profile
#4
Administrator
Points:: 0
Joined:: Oct 3, 2019

I would try changing the "Database server" connection string from "localhost port 5432;" to "localhost:5432"...

Better yet, specify not “localhost” - but an IP address...

Profile
#5
Active user
Points:: 0
Joined:: May 21, 2023

Tried already. Doesn't help. Get an error message "Server is not available ..."

Profile
#6
Active user
Points:: 0
Joined:: May 21, 2023

For PostgreSQL DB installed on a remote virtual machine what's the difference between '1C:Enterprise server cluster' and 'Database server' parameters in Add Infobase form?

Profile
#7
Just came
Points:: 0
Joined:: Jun 9, 2020

Quote
For PostgreSQL DB installed on a remote virtual machine what's the difference between '1C:Enterprise server cluster' and 'Database server' parameters in Add Infobase form?

Dear Peter,

1C:Enterprise server cluster - is address of your 1C central cluster (where your srv1cv8 service works) (https://1c-dn.com/glossary/1c_enterprise_server_cluster/?sphrase_id=241997)

Database server - is address of you DB server (where your postgresql works)

In your setup you have to set 1C:Enterprise server cluster = pennypc (and pennypc must be available and resolving from your client)
Database server = pennypc (as I understand you install both services on same virtual machine)

By default uses port 5432, so you don't need to point in somehow. But if you change it on you DB server, you can point it like "DBServerAddress port=1234"

More information you can find in pdf manual here 5.2.1.3. Creating an infobase in client/server mode

Also if you want just check if it has troubles somewhere between client and server. You can use utility rac (of course it must be installed before), and create infobase from your virtual machine. More information about command line utility rac you can find here in pdf manual.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.