Add Infobase located on 1C:Enterprise server

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

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?

 
#2
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Peter,

have you solved this problem or not yet?

 
#3
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

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

 
#4
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

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...

 
#5
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

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

 
#6
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

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?

 
#7
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jun 9, 2020
Company:

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.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.