Please provide the bitcoin.conf so that others can also learn from what you found.
Now my bitcoin.conf looks likes this.
# Generated by https://jlopp.github.io/bitcoin-core-config-generator/
# This config should be placed in following path:
# %UserProfile%\AppData\Roaming\Bitcoin\bitcoin.conf
server=1
# [network]
# Listen for incoming connections on non-default port.
port=8333
# [rpc]
# Listen for JSON-RPC connections on this port
rpcuser=Administrator
rpcpassword=somepassword
rpcallowip=111.222.0.0/16
rpcport=8332
Did you try to test the rpc over shh localy (on the server itself) to ensure this works?
Yes and it works.
But I can't access it from other server.