Before you get into forms & reports, try to connect via sqlplus. If you can not connect via sqlplus, you networking is messed up.