Question about ports

Hi,
I have a clarification question about ports and Java. Assuming all firewalls are disabled on a PC, a Java application can connect to any port via a socket to communicate with other PCs, as long as this port is not used by another application.
Is the following correct:
a) Two applications (Java or no) cannot connect to the same port together, ever.
b) Two Java applications sending and receiving datagram over a given multicast address using the same port can never communicate with each other when ran on the same PC because of a).
Thanks,
J.

Jrm wrote:
Hi,
I have a clarification question about ports and Java. Assuming all firewalls are disabled on a PC, a Java application can connect to any port via a socket to communicate with other PCs, as long as this port is not used by another application.You mean bind to a port to act as a server? Yes. As long as that port is not already bound for listening.
If you mean a client application can connect to any port where a server is listening, then it doesn't matter if another client is talking to the server on that port, as long as the server is written to handle concurrent connections.
>
Is the following correct:
a) Two applications (Java or no) cannot connect to the same port together, ever. No, see above. Unless by "connect" you mean "bind". (Even that may be incorrect terminology.)
b) Two Java applications sending and receiving datagram over a given multicast address using the same port can never communicate with each other when ran on the same PC because of a).Not sure exactly what you're saying here.
Really, though, why not just write some code and try it?

Similar Messages

  • QUICK QUESTION ABOUT PORTS

    Hi, I have a quick question about port forwarding/mapping. My question, lets say I am running MSN messenger, who's ports are 6880-6900. But lets say I am running a torrent application or something else that requires those ports. If both applications were running at the same time, would this cause interference with them on the same ports or now. Thanks
    Nathan

    Normally, only one application can listen to a specific port number at a time. If MSN is grabbing those 21 ports then your torrent app won't be able to run.
    However, most apps don't work that way - even if they use multiple ports, they don't use them all at the same time, so MSN might use 6880 when it starts up, leaving the others open for other applications to use if needed.
    Only experimentation will answer that one.

  • Question about port C++ code to C

    I have a newbie question about C++
    I'm being ask to port a C++ sharelib into a kernel driver for work so from C++ => C.  I'm not at all familiar with C++ but i'm making some leeway.  However i'm a little stuck, what does the following line of code in bold mean in C++ and how would I translate it into C code? 
    #include <deque>
    struct _buffer
        UINT8* buffer;
        UINT8 length;
    typedef deque< struct _buffer* > MSGQUEUE;
    I'm assuming it's type defining a deque of the struct _buffer???  but I'm confused by the <...>, what does that operator do in C++.  Is it defining a struct _buffer pointer within the deque??? 
    This might like a "DUH it means...." question to some people so sorry about the stupid question.
    --Vincent

    <> is template syntax and is generally the type of object a container holds..   So it is defining that the MSGQUEUE type is a deque holding struct_buffer*'s.

  • Nexus 6004: Question about port-profile type port-channel

    I'm setting up a new deployment of Nexus 6004 switches and want to utilize port-profiles as much as possible to simplify management down the road.
    All uplinks to other switches, routers and firewalls will be connected using VPC:s. On the port-channels (vpc) the only thing that will change over time is the allowed vlans.
    It seems that port-profiles of the type port-channel does not behave in the same way as those with type ethernet, at least not when adding vlans.
    If I modify the port-profile using "switchport trunk allowed vlan add XXX" it will delete the previous config and only retain "switchport trunk allowed vlan add XXX", and not merge it with the previous config as is expected. 
    Question: Is this a bug or is it working as intended?
    RH_N6K4_01(config-sync)# switch-profile rh
    Switch-Profile started, Profile ID is 1
    RH_N6K4_01(config-sync-sp)# port-profile type port-channel FIREWALL-UPLINK
    RH_N6K4_01(config-sync-port-prof)# switchport trunk allowed vlan 3
    RH_N6K4_01(config-sync-port-prof)# verify 
    Verification Successful
    RH_N6K4_01(config-sync-sp)# commit
    Verification successful...
    Proceeding to apply configuration. This might take a while depending on amount of configuration in buffer.
    Please avoid other configuration changes during this time.
    Commit Successful
    RH_N6K4_01(config-sync)# show port-profile 
    SHOW PORT_PROFILE
    port-profile FIREWALL-UPLINK
     type: Port-channel
     description: 
     status: enabled
     max-ports: 512
     inherit: 
     config attributes:
      switchport mode trunk
      switchport trunk allowed vlan 3
     evaluated config attributes:
      switchport mode trunk
      switchport trunk allowed vlan 3
     assigned interfaces:
    ===================================
    RH_N6K4_01(config-sync-sp)# port-profile type port-channel FIREWALL-UPLINK
    RH_N6K4_01(config-sync-port-prof)# switchport trunk allowed vlan add 84
    RH_N6K4_01(config-sync-port-prof)# verify 
    Verification Successful
    RH_N6K4_01(config-sync-sp)# commit 
    Verification successful...
    Proceeding to apply configuration. This might take a while depending on amount of configuration in buffer.
    Please avoid other configuration changes during this time.
    Commit Successful
    RH_N6K4_01(config-sync)# show port-profile 
    SHOW PORT_PROFILE
    port-profile FIREWALL-UPLINK
     type: Port-channel
     description: 
     status: enabled
     max-ports: 512
     inherit: 
     config attributes:
      switchport mode trunk
      switchport trunk allowed vlan add 84
     evaluated config attributes:
      switchport mode trunk
      switchport trunk allowed vlan add 84
     assigned interfaces:
    Expected behavior here would be "switchport trunk allowed vlan 3,84". This only occurs when using "port-profile type port-channel" not when using "port-profile type ethernet"

    <> is template syntax and is generally the type of object a container holds..   So it is defining that the MSGQUEUE type is a deque holding struct_buffer*'s.

  • Question about port forwarding 2 xbox 360s to get rid of NAT on one of them

    I have a xbox 360 with the official xbox 360 wireless antenna that is already set up for port forwarding and my NAT is fine.  My brother has a xbox 360 and he has a NAT problem but he doesn't have a official xbox 360 wireless antenna, he hooked up his laptop to his xbox 360 via ethernet cable and is using his laptops wireless card for the connection and he gets a NAT error when he tests his connection to xbox live.  Is it possible to port forward 2 xbox's?  I'm sure I have to set up some type of static IP for him but the thing is that I'm not sure what IP address to assign to him.  If it is possible, would he have to use a static IP address on his laptop since he's using that for a wireless connection?  If this is at all possible could someone post some step-by-step instructions on how I should set this up?  Below I will give you what I have set up for my xbox 360 to open up my NAT I just want to know what static IP I can use for him.  Can I use just any numbers?
    In my port forwarding tab in my wireless modem I have the following:
    and in my xbox i have the following settings:
    IP address: 192.168.1.20
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1
    Primary DNS: 4.2.2.2
    Secondary DNS: 192.168.1.1
    I have all that entered for myself and my xbox NAT is open.  I just need to set up his xbox if it is at all possible.  Please help!!!
    P.S. My router is a WRT54GS v2.0 with updated firmware, just incase you need that info.
    Message Edited by nourotherleft on 01-08-2009 03:20 PM

    ok that still didn't help me.... he still has a NAT problem.... I don't....I went to port triggering and added the ports that you described but it didn't open his NAT... If the connection is going through his laptop(acting like the xbox 360's wireless antenna) wouldn't either his laptop or his xbox need a static ip? because I had to set up my xbox manually with the following addresses:
    ip: 192.168.1.20
    subnet mask: 255.255.255.0
    default gateway: 192.168.1.1
    primary dns: 4.2.2.2
    secondary dns: 192.168.1.1
    so in essence wouldn't his laptop need to be configured with some kind of static ip or something? because if he puts in what I just stated into his xbox it wont connect at all because I guess the ip's are conflicting....so what do I do now?

  • Question about port-auto-adjust

    Good morning Tangosol,
    In the operational config file does the cluster-config/unicast-listener/port-auto-adjust parameter apply soley to cluster-config/unicast-listener/port? Or does it also apply to the port numbers of any well-known-addresses that are defined as well? In other words, if port-auto-adjust is 'true' and you have well-known-addresses defined, will their respective port numbers auto-adjust as well?
    Thanks.
    Pete L.

    Pete,
    The "port-auto-adjust" setting applies exclusively to the value of the "cluster-config/unicast-listener/port" element. When the port-auto-adjust is set to true, the cluster service will attempt to increment the local port number until it can successfully create (bind to) a UDP socket with that port. This significantly simplifies configuring multiple cluster nodes running on the same machine.
    Regards,
    Gene

  • Question About FireWire 800 port

    With the coming of these new Firewire ports I have a question about using my FireStudio Project, It uses normal Firewire, now will I need to buy a Adaptor, or does apple even make one?? Will this still work, I don't get why they had to change it anyway, I mean I know it's faster, but now it's just more adaptors I have to buy, that is if they even make one.
    Message was edited by: Anthony82
    null

    There are plenty of adapters and cables out there. They're not that expensive ($5-$30). You can get a 9 pin to 6 pin firewire adapter and use whatever cable you used before. You could also get a 6 pin to 9 pin adapter. Do a search on amazon or your favorite electronics store, and you'll find plenty. Here's what Apple sells:
    http://store.apple.com/us/product/TP320LL/A?mco=NDc4NjQ5OA

  • A question about opening ports

    I have a question about opening ports with the airport. I need to open up ports UDP 88 & 3074 and port TCP 3074. I am wondering if I should open these ports for the specific IP address on my network that will be using them or if I should open the ports on the gateway IP (10.0.1.1) not sure which is the right route to take. Any help would be appreciated.
    These are for running an xbox over xbox live.

    Typically, you will want to open these ports for the device on your local network that needs to be accessed from the Internet. In this case, it would be your Xbox 360.
    Unfortunately, the AirPorts are not listed as Xbox Live-compatible routers ... so there is no guarantee doing this will get Open NAT status for Xbox Live.
    The following web blog does a great job explaining the NAT issues with Xbox Live. Basically what it comes down to is that although you can get an Internet connection for the Xbox 360 with the AirPorts, you may not get the necessary NAT setting (Moderate or Open) for the Xbox Live game that you want to play. As such, Port mapping may be required to allow Xbox Live access.
    The following ports must be available for Xbox Live to operate correctly:
    • UDP 88
    • UDP 3074
    • TCP 3074
    To 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 Xbox 360.
    Internet > DHCP tab
    o On the DHCP tab, click the "+" (Add) button to enter DHCP Reservations.
    o Description: <enter the desired description of the host device>
    o Reserve address by: MAC Address
    o Click Continue.
    o MAC Address: <enter the MAC hardware address of the Xbox>
    o IPv4 Address: <enter the desired IP address>
    o Click Done.
    2. Setup Port Mapping on the AEBSn.
    Advanced > Port Mapping tab
    o Click the "+" (Add) button
    o Service: <choose the appropriate service from the Service pop-up menu>
    o Public UDP Port(s): 88, 3074
    o Public TCP Port(s): 3074
    o Private IP Address: <enter the DHCP Reserved IP address for the Xbox you created earlier>
    o Private UDP Port(s): 88, 3074
    o Private TCP Port(s): 3074
    o Click "Continue"

  • Re: Question about the Satellite P300-18Z

    Hello everyone,
    I have a couple of questions about the Satellite P300-18Z.
    What "video out" does this laptop have? (DVI, s-video or d-sub)
    Can I link the laptop up to a LCD-TV and watch movies on a resolution of 1080p? (full-HD)
    What is the warranty on this laptop?

    Hello
    According the notebook specification Satellite P300-18Z has follow interfaces:
    DVI - No DVI port available
    HDMI - HDMI-out (HDMI out port available)
    Headphone Jack - External Headphone Jack (Stereo) available
    .link - iLink (Firewire) port available
    Line in Jack - No Line in Jack port available
    Line out Jack - No Line Out Jack available
    Microphone Jack - External Micrphone Jack
    TV-out - port available (S-Video port)
    VGA - VGA (External monitor port RGB port)
    Also you can connect it to your LCD TV using HDMI cable.
    Warranty is country specific and clarifies this with your local dealer but I know that all Toshiba products have 1 year standard warranty and also 1 year international warranty. you can of course expand it.

  • Some questions about a Time Capsule

    Hi!!
    I just have a few questions about a Time Capsule, but first let me explain the backgroud to my questions.
    I live in a 2 floor house(including a basement) and my bedroom is downstairs. My parents currently have a desktop PC connected to our wireless router and our printer. Me and my step-father both have 13 inch MacBook Pros, and he uses the Mac like a basic computer, so the equipment connected to our PC is good for him. I, on the other hand, use my Mac, iPad and iPhone to their fullest potential. I am a SUPER MEGA NERD when it comes to computers, so I plan on making my bedroom an amazing office at the same time. So I want an AirPrint Enabled printer in my bedroom (Under 100$$) along with a Time Capsule to back up my information, because everyday I look around in the backdoor of my Mac alot, and if I jack anything up (And I cant handle the problem) I would like to restore my Mac to a previous version. So here are my questions:
    1) My bedroom is right underneath our router, so i get GREAT Wi-Fi in my room. If I get a Time Capsule, can I use it in my room to extend my Wi-Fi, and how would that work? Will it extend my wifi under the same name, because I would like my own Wi-Fi (Titled to what I want with my own password)
    2) If I have to create a NEW Wi-Fi network, how would I do that?
    3) Would I need to connect my new printer directly to my ROUTER, or could I connect it to the TIME CAPSULE?
    If you don't understand what I'm trying to ask (Even though I feel like it's self-explanatory)
    ONE question about the PRINTER: Do any of you have any recommendations for an AirPrint Enabled printer under 100$? Even under-150$ would be okay.
    THANKS FOR ANY HELP!!!!

    everyday I look around in the backdoor of my Mac alot, and if I jack anything up (And I cant handle the problem) I would like to restore my Mac to a previous version. So here are my questions:
    Don't just depend on TM.. use a disk image type utility.. either one of the Mac tools, SuperDuper, CCC, Chronosync or even a linux boot cd (if you have a cd/dvd drive still or via usb can boot) a great tool is Clonezilla.. it will do basically any computer, Mac, Linux, Windows.. and since it boots into its own OS can restore a computer in a flash. Then you can add the incremental changes from TM.
    1) My bedroom is right underneath our router, so i get GREAT Wi-Fi in my room. If I get a Time Capsule, can I use it in my room to extend my Wi-Fi, and how would that work? Will it extend my wifi under the same name, because I would like my own Wi-Fi (Titled to what I want with my own password)
    Actually I am surprised you get good wireless as usually directly above or below a router is often the worst spot. Time Capsule cannot extend the wireless of any other router than Apple.. it is a special system and only Apple can join the club. It has bad effect though, if you set the TC to extend wireless it turns off ethernet ports.. which is hugely dumb.
    The best arrangement is ethernet to the upstairs.. or EOP adapters. If not then a wireless router that matches the existing unit will generally be better than mixing apple and non-apple.
    2) If I have to create a NEW Wi-Fi network, how would I do that?
    3) Would I need to connect my new printer directly to my ROUTER, or could I connect it to the TIME CAPSULE?
    You create a new wireless network by selecting manually the wireless channel and use different wireless name, ssid and security. There are 3 available channels on 2.4ghz.. your existing router will use one or two.. depending on if the setting is 20mhz or 40mhz.. so you need to manually set everything and not use auto.
    TC is slow on 2.4ghz cf 5ghz and there are many more channels at 5ghz but not everything can use it.. iphone for instance is 2.4ghz only . whereas ipad can use 5ghz.. most full computers now can use 5ghz.
    Buy a wireless network printer. Or alternatively an ethernet network would be also ok but now are more expensive than wireless ones. Network printers are not much more than straight USB and work much better.
    I do not use airprint so have nothing to offer.. find the best HP model in your budget.. but others may have had more experience.. I use ethernet connected b/w laser business type HP.. they work great.. but airprint is too recent an innovation for me.

  • Few questions about mac pro before buying

    Hello all!
    I may be buying a mac pro in a month or so and have a few questions about it.
    1. ) Any one know when Apple may release the latest mac pro? Don't wanna buy some thing that'll be significantly obsolete in a few days
    2. ) Is it possible to use SATA optical drives internally? I have a SATA blu ray drive I'd like to take from my PC, if that's possible.
    3. ) Is it possible to get a graphics cards better than the 8800 GT for video games? (For use in OS X)
    4. ) Finally, is there a significant performance difference between Apple's seemingly super expensive RAM and 3rd party RAM? (Other than the heat syncs)
    Thanks for any replies.

    1. We have no idea when Apple will release any product until it's released. This is a user-to-user site so we have no more information about future products than you do.
    2. Yes, it's possible. There are two additional SATA ports on the motherboard.
    3. The only graphic cards are those provided by Apple when you order the computer as well as the non-Apple supplied ATI HD-3870 Mac/PC card. The 8800 and 3870 have close performance specs. You can find some benchmarks at Bare Feats.
    4. There's no difference between the RAM Apple installs and what you can purchase on the open market. As long as the RAM meets the required specifications and has the requisite heat sink it will work just fine.

  • Few questions about apex + epg and cookie blocked by IE6

    Hi,
    I would like to ask a few questions about apex and epg.
    I have already installed and configured apex 3.2 on oracle 10g (on my localhost - computer name 'chen_rong', ip address -192.168.88.175 ), and enable anonymous access xdb http server.
    now,
    1. I can access 'http://chen_rong' , 'http://localhost' , 'http://192.168.88.175' without input username / password for realm 'XDB' in IE6;
    2. I can access 'http://localhost/apex/apex_admin' , 'http://192.168.88.175/apex/apex_admin' , and I can be redirected into apex administation page after input admin/<my apex admin password> for realm 'APEX' in IE6;
    3. I can access 'http://chen_rong/apex/apex_admin' in IE6, but after input admin/password , I can not be redirected into administation page, because the cookie was blocked by IE6.
    then, the first question is :
    Q1: What is the difference among 'http://chen_rong' , 'http://localhost' , 'http://192.168.88.175' ? I have already include site 'chen_rong' into my trusted stes! why the cookie was blocked by IE6. I have already tried firefox and google browser, both of them were ok for 'chen_rong', no cookie blocked from site 'chen_rong'!
    and,
    1. I have tried to use the script in attachment to test http authentication and also want to catch the cookie by utl_http .
    2. please review the script for me.
    3. I did:
    SQL> exec show_url('http://localhost/apex/apex_admin/','ADMIN','Passw0rd');
    HTTP response status code: 401
    HTTP response reason phrase: Unauthorized
    Please supplied the required Basic authentication username/password for realm XDB for the Web page.
    Web page http://localhost/apex/apex_admin/ is protected.
    MS-Author-Via: DAV
    DAV: 1,2,<http://www.oracle.com/xdb/webdav/props>
    Server: Oracle XML DB/Oracle Database
    WWW-Authenticate: Basic realm="XDB"
    Date: Tue, 04 Aug 2009 02:25:15 GMT
    Content-Type: text/html; charset=GBK
    Content-Length: 147
    ======================================
    PL/SQL procedure successfully completed
    4. I also did :
    SQL> exec show_url('http://localhost/apex/apex_admin/','ANONYMOUS','ANONYMOUS');
    HTTP response status code: 500
    HTTP response reason phrase: Internal Server Error
    Check if the Web site is up.
    PL/SQL procedure successfully completed
    SQL> exec show_url('http://localhost/apex/apex_admin/','SYSTEM','apexsite');
    HTTP response status code: 401
    HTTP response reason phrase: Unauthorized
    Please supplied the required Basic authentication username/password for realm APEX for the Web page.
    Web page http://localhost/apex/apex_admin/ is protected.
    Content-Type: text/html
    Content-Length: 147
    WWW-Authenticate: Basic realm="APEX"
    ======================================
    PL/SQL procedure successfully completed
    my second questions is :
    Q2: After I entered into realm 'XDB', I still need went into realm'APEX'. how could I change the script show_url to accomplish these two tasks and successfully get the cookie from site.
    the show_url script is as following:
    CREATE OR REPLACE PROCEDURE show_url
    (url IN VARCHAR2,
    username IN VARCHAR2 DEFAULT NULL,
    password IN VARCHAR2 DEFAULT NULL)
    AS
    req UTL_HTTP.REQ;
    resp UTL_HTTP.RESP;
    name VARCHAR2(256);
    value VARCHAR2(1024);
    data VARCHAR2(255);
    my_scheme VARCHAR2(256);
    my_realm VARCHAR2(256);
    my_proxy BOOLEAN;
    cookies UTL_HTTP.COOKIE_TABLE;
    secure VARCHAR2(1);
    BEGIN
    -- When going through a firewall, pass requests through this host.
    -- Specify sites inside the firewall that don't need the proxy host.
    -- UTL_HTTP.SET_PROXY('proxy.example.com', 'corp.example.com');
    -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
    -- rather than just returning the text of the error page.
    UTL_HTTP.SET_RESPONSE_ERROR_CHECK(FALSE);
    -- Begin retrieving this Web page.
    req := UTL_HTTP.BEGIN_REQUEST(url);
    -- Identify yourself.
    -- Some sites serve special pages for particular browsers.
    UTL_HTTP.SET_HEADER(req, 'User-Agent', 'Mozilla/4.0');
    -- Specify user ID and password for pages that require them.
    IF (username IS NOT NULL) THEN
    UTL_HTTP.SET_AUTHENTICATION(req, username, password, 'Basic', false);
    END IF;
    -- Start receiving the HTML text.
    resp := UTL_HTTP.GET_RESPONSE(req);
    -- Show status codes and reason phrase of response.
    DBMS_OUTPUT.PUT_LINE('HTTP response status code: ' || resp.status_code);
    DBMS_OUTPUT.PUT_LINE
    ('HTTP response reason phrase: ' || resp.reason_phrase);
    -- Look for client-side error and report it.
    IF (resp.status_code >= 400) AND (resp.status_code <= 499) THEN
    -- Detect whether page is password protected
    -- and you didn't supply the right authorization.
    IF (resp.status_code = UTL_HTTP.HTTP_UNAUTHORIZED) THEN
    UTL_HTTP.GET_AUTHENTICATION(resp, my_scheme, my_realm, my_proxy);
    IF (my_proxy) THEN
    DBMS_OUTPUT.PUT_LINE('Web proxy server is protected.');
    DBMS_OUTPUT.PUT('Please supply the required ' || my_scheme ||
    ' authentication username/password for realm ' || my_realm ||
    ' for the proxy server.');
    ELSE
    DBMS_OUTPUT.PUT_LINE('Please supplied the required ' || my_scheme ||
    ' authentication username/password for realm ' || my_realm ||
    ' for the Web page.');
    DBMS_OUTPUT.PUT_LINE('Web page ' || url || ' is protected.');
    END IF;
    ELSE
    DBMS_OUTPUT.PUT_LINE('Check the URL.');
    END IF;
    -- UTL_HTTP.END_RESPONSE(resp);
    -- RETURN;
    -- Look for server-side error and report it.
    ELSIF (resp.status_code >= 500) AND (resp.status_code <= 599) THEN
    DBMS_OUTPUT.PUT_LINE('Check if the Web site is up.');
    UTL_HTTP.END_RESPONSE(resp);
    RETURN;
    END IF;
    -- HTTP header lines contain information about cookies, character sets,
    -- and other data that client and server can use to customize each
    -- session.
    FOR i IN 1..UTL_HTTP.GET_HEADER_COUNT(resp) LOOP
    UTL_HTTP.GET_HEADER(resp, i, name, value);
    DBMS_OUTPUT.PUT_LINE(name || ': ' || value);
    END LOOP;
    -- Read lines until none are left and an exception is raised.
    --LOOP
    -- UTL_HTTP.READ_LINE(resp, value);
    -- DBMS_OUTPUT.PUT_LINE(value);
    --END LOOP;
    UTL_HTTP.GET_COOKIES(cookies);
    dbms_output.put_line('======================================');
    FOR i in 1..cookies.count LOOP
    IF (cookies(i).secure) THEN
    secure := 'Y';
    ELSE
    secure := 'N';
    END IF;
    -- INSERT INTO my_cookies
    -- VALUES (my_session_id, cookies(i).name, cookies(i).value,
    -- cookies(i).domain,
    -- cookies(i).expire, cookies(i).path, secure, cookies(i).version);
    dbms_output.put_line('site:'||url);
    dbms_output.put_line('cookies:');
    dbms_output.put_line('name:'||cookies(i).name);
    dbms_output.put_line('value:'||cookies(i).value);
    dbms_output.put_line('domain:'||cookies(i).domain);
    dbms_output.put_line('expire:'||cookies(i).expire);
    dbms_output.put_line('path:'||cookies(i).path);
    dbms_output.put_line('secure:'||secure);
    dbms_output.put_line('version:'||cookies(i).version);
    END LOOP;
    UTL_HTTP.END_RESPONSE(resp);
    EXCEPTION
    WHEN UTL_HTTP.END_OF_BODY THEN
    UTL_HTTP.END_RESPONSE(resp);
    END;
    /

    I use oracle database enterprise edtion 10.2.0.3. I have already figured out the epg on 10.2.0.3 to support apex 3.2.
    And as I described above, the apex site works fine for ip address , and localhost. but the cookie will be blocked by IE6, if I want to access the site by 'http://computername:port/apex/apex_admin'. This problem does not occured in firefox and google browser. Could someone give me answer?

  • STS: Few Questions about STS ?

    Hi All,
    Right now, I'm working on STS for IP.
    I have some questions about it:
    1. Every time I execute t-code BPS_STS_START, it launch the STS Web Application with different port and HTTP.
    The port should be 8444, and HTTP should be HTTPS .
    I've already checked on t-code: SE80 to TUNGUSKA htm, and see on the properties on it. I got it has correct port and HTTPS.
    How do I fix up this problem ? Do you know what the solution is ?
    2. When I execute sending email initially, why does it always send the email to manager ?
    Whereas It doesn't have the upper level.
    How can I setup it? Is it setup with the Authorization ?
    Thanks a lot all . Appreciate your suggestion about my questions.
    Best regards,
    Daniel N.

    Hi Lucimar,
    Thanks a lot for your kind help.
    If you don't mind, I have another questions.
    When I run t-code: BPS_STS_START. It will launch the browser with this url: https://sapdsb6.xxx.yyy.com:8606/sap/public/myssocntl?sap-client=100
    But it just gives me blank web-page.
    My question is whether it's normal behavior from STS ? I thought it will distribute email notification to start planning, but it's not, when I check on t-code: SOSV, it doesn't give any email queue to be distributed.
    2.
    Btw, regarding my question no. 2, how can I setup it in t-code: BPS_TC at Determine date, Person Resp., Layouts ? Where can I setup it ?
    Would you kindly help me what I have to do ?
    Thanks a lot and have a good day,
    Best regards,
    Daniel N.

  • Newbie question about loading servlets on tomcat

    I have what is probably a very basic question about loading simple servlets on to tomcat to test its installation. I have followed instructions from numerous tutorials to the letter but still I can't get it to work.
    I have installed tomcat on win2k in c:\tomcat. I set up the jdk, environment vars (JAVA_HOME, CATALINA_HOME, TOMCAT_HOME) which all point at the correct dirs. I can compile a servlet without errors. I can also place a test jsp and html file into the root directory and they both work fine.
    However, now I am trying a test servlet and no matter what I do it gives me a 404. I have a servlet class file called "HelloServlet.class" which I placed into the %install_dir%\webapps\ROOT\WEB-INF\classes directory. I try to reference it using this url:
    http://localhost/servlet/HelloServlet
    Tomcat is configured to use port 80 and has been restarted after adding the servlet class file. Does anyone have a clue why this is not working for me?
    Many thanks
    Marc

    You have to add in the web.xml file that it is in the WEB-INF dir, the information about your servlet. An example:
    <web-app>
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/HelloServlet</url-pattern>
    </servlet-mapping>
    </web-app>

  • Basic questions about Ironport

    Dear responder,
    I have some questions about the S series Web Security Ironport, It would be appreciated to respond it one by one.
    1-Is ironport can work independently if i buy it alone and put it on the edge of my network and connect the internet to the one of that ports and connect my local lan switch to the other port?
    2-If i can use it independanly can i use it in the Transparent proxy mode not the explicit one and make it sensitive to the Http traffic to bring the Authentication page for new users who want to connect to the Internet?
    3-Is there any authentication page in ironport or i have connect to the ironport to use Internet like VPN connection by an agent?
    4-Assume that if a user is currently log-in and the user wants to log-out, it there any way to Logout from the Ironport with a specific page for loging-out?
    5-Is there any local database is available into the Ironport to create users?
    6-Is there any option to define radius or Ldap server address as User database to read when needed for authentication propose?
    thank you so much.
    Abraham

    Good Afternoon Abraham,
    In my answers I'll assume you'll get AsyncOS 7.5 for Web for your WSA.
    1.  This is "in-line" mode, and while the documentation doesn't specifically say you can't do this, it doesn't say you can either.  The support on this is fuzzy.   There are 2 supported ways to deploy a WSA: Transparent redirection (using WCCP or policy-based routing), or explicit mode, using settings in the browser, or PAC files.
    2. If I understand your question, the answer is yes.  With transparent redirection, you can force all http traffic to the WSA, and require users to authenticate.  You can force the users to enter a username and password, or it can happen automatically (see answer 3)
    3. There are a few ways to handle authentication for your users: 
         They can authenticate to the the ironport, which can do a lookup against your LDAP or Active Directory.
         It can transparently authenticated them if you're using Active Directory and a browser that supports it (IE, Firefox, Chrome)
         You can use the ADAgent (runs on a seperate box) which scrapes the security logs from the AD domain controllers and passed authenticated users and their IP to the the Ironport.
    4. I'm not aware of a "logout" page.
    5. There is a "local database" for administrative users, and you can use RADIUS for administrative users, but not for your regular users. (see answer 6)
    6. Yes. You can use LDAP, Novell eDirectory, or Microsoft Active Directory for your users.
    I hope that helps!
    Ken

Maybe you are looking for