The question is whether you are running sqlplus "on the database server". Are you? If so, you can do this. If not, you need a listener.