There are a lot of problems with this setup. But here are my suggestions:
You should run proserve 1x on the server - it looks like your launching the server for every connection, which would be bad.
-H is used for the server IP - not the client - so should never be localhost. Even if I were running a program from the server I would use the servername.
This should be your server .p - run from the server only - using task scheduler if you want.
DOS SILENT "C:PROGRESSOpenEdgeinproserve" "whatever-the-local-drive-and-folder-areupitnikupitnik.db -N tcp -H localhost -S 7777".
Note: you can leave localhost - or use server name - or IP of server. If you run this from server you will have no problems. You don't want the client to be starting the server.
This should be your client .p
DOS SILENT "net USE U: /DELETE".
DOS SILENT "net USE U:
192.168.1.201upitnik".
PROPATH = ENTRY(1,PROPATH) + ",U:upitnik," + PROPATH.
CONNECT upitnik -H localhost -S 7777 -N tcp.
/* you should probably change the line below to RUN persistent */
RUN w-upitnik.w PERSISTENT.
/* otherwise you would disconnect before your app gets a chance to run */
DISCONNECT upitnik.
There are maybe 10 other suggestion people could offer to you - but get it running first then we'll go from there.
- See more at: https://community.progress.com/community_groups/openedge_general/f/26/t/7483#sthash.J5XdSsEv.dpuf