Which port is open for connection ?

how could I know which port is open for connection ?
In the java, I use JDBC to connect to Oracle,
connection = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:sid", "scott","tiger");Do we have a command to show open port ?
Thanks.

What is your Oracle version, and do you use dedicated connections or "shared servers"? From your port number invoked (1521), I'll guess you use dedicated connections. In that case, the listener (located at 1521) will "spawn" a dedicated process for your session, and tell this process to start on another port (usually falling on a certain range, depending on your OS). An easy way to see this would probably to turn listener tracing on. Here's what I found in the log file after I started a new (dedicated) session on my 10.2 DB:
"22-OCT-2006 21:31:16 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ora102)(CLIENT_REGISTRATION=ora102)(CID=(PROGRAM=C:\oracle92\bin\sqlplusw.exe)(HOST=DANIELROYLAPTOP)(USER=Daniel))(CLIENT_REGISTRATION=ora102)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=3198)) * establish * ora102 * 0"
HTH
Daniel

Similar Messages

  • Which port need open for Imoprt WS in to the TREE ??

    ZfD6.5SP2.
    WS----firewall-------NW_SERVER
    Which ports ned open on the firewall for import Ws in to the TREE ??
    Serg

    Serg,
    >Which ports ned open on the firewall for import Ws in to the TREE ??
    8039
    Jared Jennings
    Data Technique, Inc.
    Novell Support Forums Sysop
    http://wiki.novell.com

  • Which ports need open for:...

    Ws(xp_prof)+BM39VPNclient-----NAT1---INTERNET---NAT2----BM39---PRIVETLAN
    USer work with Ws - Xp_prof_SP2. On this Xp installe BM39 VPN Client.
    Between WS and INETRNET - NAT1 (iptables).
    On the other side:
    INTERNET--->NAT2---->BM39SERVER---->PRIVETLAN
    I ask:
    Whic ports and protocols (and in whic directions) need open in the NAT1
    for Allow VPN connection between WS and BM39 in this configuration.
    Serg

    On Sat, 09 Feb 2008 12:55:40 +0000, mysterious wrote:
    > serg wrote:
    >> Ws(xp_prof)+BM39VPNclient-----NAT1---INTERNET---NAT2----BM39---PRIVETLAN
    >>
    >> USer work with Ws - Xp_prof_SP2. On this Xp installe BM39 VPN Client.
    >>
    >> Between WS and INETRNET - NAT1 (iptables).
    >>
    >> On the other side:
    >> INTERNET--->NAT2---->BM39SERVER---->PRIVETLAN
    >>
    >> I ask:
    >> Whic ports and protocols (and in whic directions) need open in the NAT1
    >> for Allow VPN connection between WS and BM39 in this configuration.
    >>
    >> Serg
    >>
    >>
    > tid10088980
    Thank you.
    Serg

  • Which ports to open for registering an iPod Touch OTA via proxy / firewall ?

    I need to set up  some iPod Touch over the air via a wifi network controlled with a firewall. I get a message "unable to connect registration server". I suppose I have to open ports, but which ones ??

    Try here:
    http://support.apple.com/kb/ts3297
    http://support.apple.com/kb/TS3125

  • Which ports oracle use for replication..

    Hi All,
    I want to know which ports orcale use for replication.plz reply me quickly.
    Thanx in advance

    This is configurable. By default, listeners will run on port 1521, but sites can specify multiple and/or different ports. Depending on the OS of the database, connections made on that initial port may be redirected to a different port (Windows) or may do all the communication on the listener port (Unix). Windows databases can be configured to do all communication on the listener port, though there may be a performance impact to doing so.
    Justin

  • Which ports to open in PIX for outgoing Cisco VPN client connections ?

    I have Cisco vpn clients behind the PIX and i want them to connect to a vpn 3005 which i behind another PIX . Can anybody tell me which ports i have to open on both the PIX firewalls ?

    It depends on how you have deployed your VPN Remote Access users.
    By default, if you enable IPSec-Over-TCP or IPSec-over-UDP, then port 10000 is used for both, these methods are Cisco Proprietary and can be changed.
    If you use NAT-T (NAT Traversal), the Standards-based implementation, then it uses UDP-4500).
    either way, the operation of the VPN depends on:
    1) Whether these service have been enable on the VPN Concentrator
    2) Enabling the relevant transport settings on the VPN Client connection Properties.
    Regarding the PIX infront of the VPNC3005, you will need to allow these above ports inbound to your VPNC3005 Public interface.
    Locally, it depends if you filter outbound connections through your PIX. If you don't, then the PIX will allow the connection for the VPN Client attempting to access the remote VPNC3005

  • Netconnection.connect(), which port to open

    Hi all,
    I have a swf running within a web browser and publishing audio stream to the server. If the client's computer has a firewall, should it be configured for outgoing netconnection.connect() request?
    Thanks in advance
    -s 

    Generally firewalls at clients end do not block outgoing connections but its not that they cannot be configured to do so. You can check if client's machine firewall blocks any outgoing connections and what all connections and on which port. If you find its blocking rtmp connections or blocking port 1935 and 80, you might want to open them.

  • Which ports to open on FW for Voip

    Hello,
    Can anyone tell me which ports (TCP and UPD) to open on the firewall when you have ip phones and ip communicator behind it?
    This just to squeeze down the range a bit.
    Thanks for your help.
    Kurt

    Kurt,
    Take a look at the following link.
    http://www.cisco.com/univercd/cc/td/doc/product/voice/c_callmg/sec_vir/udp_tcp/index.htm
    Hope this helps. If so, please rate the post.
    Brandon

  • Need step by step to get port 48705 open for Panasonic Bluray

    Classic handoff syndrome.  Brand new Panasonic Bluray connected to internet out of the box with Airport Extreme, streamed fast. Imac running Snow Leopard. 
    Updated Panasonic firmware and no connections.  Panasonic tech tried for a half hour and concluded that I needed my ISP to open port 80, 443 and 48075.  I think that 80 and 443 are open by default. Resetting the settings and the player did nothing....gateway: fail. There is no way to undo the firmware update.
    Call India and Verizon says that they cannot assist me with AEBSn just Verizon routers.  All searches for this problem give directions with too many blanks that I don't have the info to fill in.  Below is an example of an attempt in the community to help.  I wouldn't know where to find the <missing info> . I couldn't find the port mapping tab in this version....help would be appreciated.
    Tesserax
    Re: how can you perform a Port Forwarding Procedure on Ports 48705, 443 and 80 so my Blu Ray player will be able get and IP address and connected to your gateway. 
    Oct 1, 2011 11:22 PM (in response to doc9850)
    Again, you would only need to configure for port mapping if you intend on accessing the Blu-ray player from a remote location.
    Port mapping takes two basic steps:
    Either assign a static Private IP address or use the AirPort's ability to allow DHCP to assign a reserved IP address to the Blu-Ray player, and
    Configure the AirPort, using the AirPort Utility, for the proper ports to map.
    The following are the basics for setting up one of the newer 802.11n AirPorts for port mapping/forwarding: AEBSn - Port Mapping SetupTo setup port mapping on an 802.11n AirPort Extreme Base Station (AEBSn), either connect to the AEBSn's wireless network or temporarily connect directly, using an Ethernet cable, to one of the LAN port of the AEBSn, and then use the AirPort Utility, in Manual Setup, to make these settings: 1. Reserve a DHCP-provided IP address for the host device.AirPort Utility > Select the AEBSn > Manual Setup > Internet > DHCP tab
    On the DHCP tab, click the "+" (Add) button to enter DHCP Reservations.
    Description: <enter the desired description of the host device>
    Reserve address by: MAC Address
    Click Continue.
    MAC Address: <enter the MAC hardware address of the Blu-ray player>
    IPv4 Address: <enter the desired IP address>
    Click Done.
    2. Setup Port Mapping on the AEBSn.AirPort Utility > Select the AEBSn > Manual Setup >Advanced > Port Mapping tab
    Click the "+" (Add) button
    Service: <choose the appropriate service from the Service pop-up menu>
    Public UDP Port(s): <enter the appropriate UDP port values>
    Public TCP Port(s): <enter the appropriate TCP port values>
    Private IP Address: <enter the IP address of the Blu-ray player>
    Private UDP Port(s): <enter the same as Public UDP Ports or your choice>
    Private TCP Port(s): <enter the same as Public TCP Ports or your choice>
    Click "Continue"
    AirPort Utility Port Forwarding for AE is not an intuitive app. It is version 5.6.1 which is up to date for SL.
    http://www.google.com/search?client=safari&rls=en&q=48705+port&ie=UTF-8&oe=UTF-8  shows that other people are needing to do this with various routers.
    The player is Panasonic DMP-BDT500 Integrated Wi-Fi 3D Blu-ray DVD Player
    FYI, the player plays disks beautifully.
    Thanks for any help.
    David

    My problem seems to be that my AirPort Utility does not have Port Mapping under the Advanced Tab.
    This tells us that you have another router "upstream" on your network, which you may call your modem, but it is in fact a modem/router or gateway type of device. 
    The AirPort Extreme is configured correctly in Bridge Mode to work with this type of device on your network.
    You can verify this by clicking the Internet icon, then clicking the Internet Connection tab. You will see that the setting for Connection Sharing is set to ""Off (Bridge Mode)". That means that the AirPort is not providing the routing services for your network.
    Your modem/router or gateway is the device that will need to be configured for port forwarding / mapping.....not the AirPort Extreme.
    I am sure that Tesserax will have similar comments.

  • Which ports to open on winxp when filesharing?

    When I tries to connect a winxp shared folder from a mac it does not work if the firewall on xp is on, when I turn it off everythings works ok. Which ports do I need to open?
    /Ulf

    What I would suggest is that you install Little Snitch on your mac. Little Snitch is an application aware firewall that controls your outgoing connections.
    By default little snitch allows out any network connections on your local network, so if you remove that rule it will alert you when you try and connect to your windows sharepoint, it will also tell you which port it is trying to connect to.
    You may then see the complete ports you need to open your windows firewall.
    The other thing you could do is give your computers static ip addresses on your network then setup a firewall rule on your windows box to allow all connections from your mac's ip address.

  • Trying to figure out why ports are open for systemd processes

    Output of my "netstat -nlp"
    [root@server ~]# netstat -nlp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2159/sshd
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2060/mysqld
    tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 2168/systemd-resolv
    tcp6 0 0 :::80 :::* LISTEN 4460/nginx: master
    tcp6 0 0 :::22 :::* LISTEN 2159/sshd
    tcp6 0 0 :::443 :::* LISTEN 4460/nginx: master
    tcp6 0 0 :::5355 :::* LISTEN 2168/systemd-resolv
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 IP4:68 0.0.0.0:* 2078/systemd-networ
    udp 0 0 127.0.0.1:123 0.0.0.0:* 4491/ntpd
    udp 0 0 0.0.0.0:5355 0.0.0.0:* 2168/systemd-resolv
    udp6 0 0 ::1:123 :::* 4491/ntpd
    udp6 0 0 :::5355 :::* 2168/systemd-resolv
    raw6 0 0 :::58 :::* 7 2078/systemd-networ
    Why are ports 5355, 58, and 68 being listened to/open ?
    Please let me know if any additional information is needed, it is the latest version or arch linux and fully updated as of this post.

    68 is for BOOTP/DHCP. Why it needs so many open is beyond me - dhcpcd just has the one global 68 open for any amount of interfaces.
    The other two ports don't look like anything network setup related should have open.
    I would file a ticket with systemd upstream.

  • Downloads from iTunes on my macbook air do not download on my desktop but remain in iTunes folder which refuse to open for use.

    I couldn't get downloads from iTunes to be on the desktop of my Macbook air but they remain in iTunes folder and refuse to open for use. What am I to do?

    Downloads of what?  Songs?  Apps?  Books?
    If you're talking about apps, then you have downloaded iOS apps which are intended to run on an iPhone or iPad, not a Mac.

  • Which adapter or cable for connection from apogee condenser mic to ipad 4 retina display 16 gb wi-fi?

    hello
    i ve got  an apogee condenser mic to record my acoustic guitar and singing. in box there was a cable for connection to ipad&iphone. but that cable was not able to plug in to my ipad 4 (retina display 16 gb wi-fi).i need an adapter or an another cable to plug in the microphone into ipad.but which pin?which kind of adapter?thank u

    Hi,
    You need a Lightning adapter with 30 pin...

  • Should FTP port be opened for client_to_as function

    I need to transfer a file from the client machine to the Solaris Server where the 10g forms are running. I was planning on using the webutil_file_transfer.client_to_as function. I know we have to set some properties in the webutil.cfg file. Other than that, should the FTP port be open on the server for the file to be transferred from the client machine. Basically, wanted to know if FTP protocols are used to transfer the file so that certain securities can be set on the server.
    Also does anyone know how to delete the file on the solaris server programmatically through Oracle Forms? After the file is transferred from the client to the server and processed, I need to delete the file. I am assuming you can use the HOST command, but not sure of the exact syntax and what permissions are required to delete the file from the client machine.

    I have never used the "Client_To_AS" method, however, according to the documentation all you need to configure is the webutil.cfg and insure the transfer.appsrv.enabled parameter is set to TRUE and if the transfer.appsrv.accessControl parameter is set to TRUE then you also need to ensure the target directory on the App Server is listed in the transfer.appsrv.write list. There is no mention that FTP must be enabled on the App Server.
    The documentation also states that you should call the WebUtil_File_Transfer.IsASWritable function with the target file name to ensure you are able to write to the file location on the server.
    As to how to delete a file, you can use the "rm <filename>" command in Solaris to remove the file. Also, here is the link to the documentation I used to reply to your post.
    http://www.oracle.com/technology/products/forms/htdocs/webutil/web_util.pdf
    Hope this helps.
    Craig...

  • Ports to open for Jabber to work

    Hi,
    I want to know which ports I should allow on ACL which will allow Jabber on iOS and Android devices to work successfully.
    Thanks,
    Kashish

    Hey Kashish,
    As far as I know, Cisco Jabber for Android and iPhone share the same port utilization:Port and Protocol List
    Regards,
    Jas

Maybe you are looking for

  • Join Table from a set of records

    I will try to explain the best I can... In the first code; I have assigned my UNION result set to BCALC.   How do I modify the second query so I will get all records from BCALC and all filtered records from second query in one result set? First Query

  • Notifying a user that an Urgent Change Request has been Approved, or Denied

    Trying to figure out the best way to have an email go back to a user after a Change Request has been updated with either an Approved or Deny What we do now is after a user creates an Urgent Change Request, and email goes out to all of our Managers. O

  • Delivery notification

    Hi, in the "imsimta qm top" output: Count Subject ====== ======= 9 Delivery Status Notification (Failure) 7 Delivery Notification: Delivery has failed What is the difference between the two subjects ? Regards

  • Remote Management - Rights Authentication Failed

    Since upgrading from zenworks 10 to zenworks 11 I am getting the following error when I try to remote to workstations. I am not receiving this on all workstations, just some. Zenworks Remote Management Rights Authentication failed. An internal error

  • Regarding Integration Builder

    Hi Friends, Happy Diwali to All of you............................. I m just trying to learn SAP XI............................ In SAP XI DEV System I have Entered.......code SXMB_INF and JAVA WEB 1.4.2 is already installed in my system..............