# Problem Connecting through port to server

**URL:** <https://forums.suse.com/t/problem-connecting-through-port-to-server/23666>\
**Category:** SLES Networking\
**Created:** [February 24, 2013, 5:55pm UTC](https://forums.suse.com/t/problem-connecting-through-port-to-server/23666 "2013-02-24T17:55:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick2005](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@Nick2005](https://forums.suse.com/u/Nick2005)\
**Post date:** [February 24, 2013, 5:55pm UTC](https://forums.suse.com/t/problem-connecting-through-port-to-server/23666/1 "2013-02-24T17:55:38Z")

</div>

Hi to All,  
I have created a VM Suse Ent. 11SP2 in Vmware; on this machine I have installed Oracle DB 11g R2.  
But I am unable to connect from remote.  
For example when I try to connect to db, this message is returned:

[QUOTE]A test to establish a simple socket connection Failed on :1521.  
Your server is not listening or accept no connections on this host on port 1521[/QUOTE]  
The test is performerd using from command line ping :1521 and I have used both the qualified name and the IP.  
If I try to connect to another server with different OS (for example win2003, win2008 or rhel) I don’t have problem.  
Can someone help me ?  
Thank You and best regards  
Gaetano

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 24, 2013, 6:09pm UTC](https://forums.suse.com/t/problem-connecting-through-port-to-server/23666/2 "2013-02-24T18:09:04Z")

</div>

> [@](#):
>
> On Sun 24 Feb 2013 04:04:02 PM CST, Nick2005 wrote:
> 
> Hi to All,  
> I have created a VM Suse Ent. 11SP2 in Vmware; on this machine I have  
> installed Oracle DB 11g R2.  
> But I am unable to connect from remote.  
> For example when I try to connect to db, this message is returned:[color=blue]
> 
> > A test to establish a simple socket connection Failed on  
> > :1521.  
> > Your server is not listening or accept no connections on this host on  
> > port 1521[/color]  
> > The test is performerd using from command line ping :1521 and  
> > I have used both the qualified name and the IP.  
> > If I try to connect to another server with different OS (for example  
> > win2003, win2008 or rhel) I don’t have problem.  
> > Can someone help me ?  
> > Thank You and best regards  
> > Gaetano

Hi  
Have you opened the ports in the firewall to allow the service? If not,  
use YaST firewall to open.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.2 (x86\_64) Kernel 3.4.28-2.20-desktop  
up 2:03, 4 users, load average: 0.39, 0.34, 0.38  
CPU IntelÂ® i5 CPU M520@2.40GHz | GPU IntelÂ® Ironlake Mobile

---

<div class="post-metadata">

**Author:** ![Nick2005](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@Nick2005](https://forums.suse.com/u/Nick2005)\
**Post date:** [February 25, 2013, 3:55pm UTC](https://forums.suse.com/t/problem-connecting-through-port-to-server/23666/3 "2013-02-25T15:55:13Z")

</div>

[QUOTE=malcolmlewis;12094]  
Have you opened the ports in the firewall to allow the service?[/QUOTE]

Thank You.  
All work fine.  
Gaetano
