A
A
Alexander Urich2016-07-18 13:40:11
linux
Alexander Urich, 2016-07-18 13:40:11

How to properly set up a 1C server on Linux (Ubuntu)?

Good day, good and happiness to you)
Situevina is like that.
On my computer running Ubuntu 16.04, I installed the server and client 1C enterprise 8.3 . I
chose Postgresql as the database.
The database server is located on a separate machine (virtual machine), but that’s not the point)
Everything works as it should. But, I can't connect to this server remotely.
As I understand it, the problem is in the hostname of the machine on which the 1C server is.
At first, hostname on my machine was only 1 word (for example, user-pc)
I connect to the server by IP address, and by domain name.
Error when connecting:
server_addr=user-pc descr=11001(0x00002AF9): This host is unreachable. line=1048 file=src\DataExchangeCommon.cpp
Where user-pc is the hostname of the machine on which it is installed. And it doesn't matter if I connect via IP or via a domain, the error is the same.
I decided to change the hostname of the machine to the domain I'm trying to connect to. After that, I can't even connect to the server locally. It turns out that somewhere the old hostname is specified either in the 1C configs, or in the database itself. I searched through the files, I could not find ...
In general, tell me how to properly configure the server, machine, so that you can connect to it remotely

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin, 2016-07-18
@Urichalex

infostart.ru/public/502542 everything is beautifully described)

S
SofroN, 2016-07-18
@SofroN

Error when connecting:
server_addr=user-pc descr=11001(0x00002AF9): This host is unreachable. line=1048 file=src\DataExchangeCommon.cpp

I solved this problem by adding "user-pc" to the hosts file, with the IP address of course. And I connect via IP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question