I instaled plex media server on linux but it not work

that is why.

you can only claim a server via the local lan network.

you may need to setup an ssh tunnel.

see lines b & c @ Help moving to new plex server