USE_SID_AS_SERVICE_<listener_nam>=on
Restart or reload the listener. You should now be able to connect to the service_name representing your .
Here is a screenshot from SQuirrel SQL client running on Ubuntu, connecting to a PDB running on a Virtual Box with CentOS and Oracle 12.1:
The entire connection string is
jdbc:oracle:thin:@lx01oric.oric.no:1521:pdbveg1.oric.no