You means connecting from sqlplus is fine, but not from sqldeveloper right?
Can you try to use Service Name instead of SID?
Connection Name : <name just you like>
User Name : <same as sqlpus>
Password : <same as sqlpus>
Role : defafult
Connection Type : Basic
Hostname : <name of server or ip address>
Port : 1521
Service Name : orcl
If still having problem, please post the content of tnsnames.ora and listener.ora for us.