well if you are doing connect internal in the machine where the database is located it will always use internal protocol IPC or BEQ
The error you are getting could be that the enviroment variable ORACLE_SID is not set, it doesnt necessary have to do with networking.

in ms-dos prompt type
set ORACLE_SID=whatever_you_have_as_SID