Connecting tomcat from outside

Hi! I�ve searched but couldnt find anything teaching how to setup tomcat to be accessed from
outside.
I only can access it using http://localhost:8080.
But if I give my ip to someone else outside, he cant connect. All the tutorials I found only teach us how to install and access tomcat from localhost.
I am using win XP and I have a cable connection.
Thx!

I have installed tomcat-5.5, and i can access to the server over the lan, with default installation.
I think you have to configure the NAT Port Forwarding to redirect the services to the machine where the server is running,
or
firewall configuration.

Similar Messages

  • I am trying to connect oim  from outside webapplication

    hi,
    i am trying to connect oim from outside webapplication . I am getting following error.
    Thor.API.Exceptions.tcAPIException
         at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
         at Thor.API.tcUtilityFactory.<init>(Unknown Source)
         at oimconnection.main(oimconnection.java:33)
    can any one help me.
    Thanks.

    hi,
    This should work:
    try {
                   System.out.println("Login ====");
                   System.setProperty("XL.HomeDir", "D:\\CustomClient"); // change as per your env
                   System.setProperty("java.security.policy",
                             "D:\\CustomClient\\config\\xl.policy");
                   System.setProperty("java.security.auth.login.config",
                             "D:\\CustomClient\\config\\authwl.conf");
                   System.setProperty("java.naming.provider.url", "t3://OIM_HOST:OIM_PORT");
                   ConfigurationClient.ComplexSetting configClient = ConfigurationClient
                             .getComplexSettingByPath("Discovery.CoreServer");
                   final Hashtable env = configClient.getAllSettings();
                   ioUtilityFactory = new tcUtilityFactory(env, "xelsysadm",
                             "thepwd");
                   System.out.println("Authenticated -- :):)");
              } catch (Exception e) {
                   e.printStackTrace();
              }

  • Open Directory access from outside of network / internet

    Hello all,
    Got a question I'd love to get some help on, I have some users who are outside of my network and I'd like them to connect into the open directory on our leopard server so they can use the Shared iCal calendars, addresses, etc.
    So my questions are A) Is it possible to connect in from outside the network and get access to the directory without having to have a seperate user account and use our VPN every time you want to connect? - if not is this the only way to do it (would you have to connect via the Mac VPN and then connect to the directory?)
    B) is it possible to do this "seamlessly" so that you don't have to change any settings, login details each time you switch between your local user from outside the network and your directory access. (so basically if you are in iCal if you have internet access it will connect you to the directory, without you doing anything extra?)
    Hope that makes sense, I can't seem to find the answers I need in the manuals, if I knew how this was meant to work I could probably have a fair go at figuring out how to actually do it (firewall changes etc)
    Thanks in advance for the help
    Martin

    So my questions are A) Is it possible to connect in from outside the network and get access to the directory without having to have a seperate user account and use our VPN every time you want to connect? - if not is this the only way to do it (would you have to connect via the Mac VPN and then connect to the directory?)
    If your OD server is visible from the internet -- i.e., it has a public address -- then you can do this without the VPN. However, it's not advisable to have a server exposed in that fashion.
    You would be better off doing this through the VPN:
    - Remote user connects to internet at hotel, for example.
    - Remote user initiates VPN connection.
    - Remote user now has access to iCal server and directory information.
    Explain to the users that this information is private to the company, and private company resources are only available through the VPN. Allowing access without the VPN would be similar to the company posting its Employee roster and meeting calendars on the face of the building where any person (or competitor) could see them.
    B) is it possible to do this "seamlessly" so that you don't have to change any settings, login details each time you switch between your local user from outside the network and your directory access. (so basically if you are in iCal if you have internet access it will connect you to the directory, without you doing anything extra?)
    It's just one extra step: Connect to VPN. You're still the same local user on the computer.
    If you're talking about laptop users needing directory access to authenticate when logging into their computers, well...That sounds like a whole other situation.
    Hopefully this helps.
    Bryan Vines

  • How do i connect my time capsule from outside my home? i dont have static ip

    sorry about my english...
    its been 4 months now and still I am not able to connect my time capsule via internet from outside . i have read enough forums and discussion but i am confused because every discussion has different answer. please anyone can explain me the simplest way to configure my time capsule so i can connect it from other computers. i am using windows 7 64bit os.i am not advance user of networking so please explain me in detail.
    some questions.
    1. is it possible to use time capsule as nas using dynamic ip address?
    2. if yes how and where can i get exact detail about this.
    3. how to connect my time capsule form my iphone,ipad or other computers . connect through ip address or something else?
    4. is it any simple installation way to do this? i heard about bonjour and icloud but dont know how to connect through this.
    please help me
    thank you
    sachin

    i am using windows 7 64bit os.i am not advance user of networking so please explain me in detail.
    Here is your primary issue.. you cannot connect with win7 ..
    Windows only offers SMB protocol which just about every ISP.. all responsible ones ...block..
    Time Capule offers AFP to internet and only AFP.
    You need to use a Mac to connect.. then use BTMM and iCloud as there is no dyndns in the TC anyway. (Actually there is a dyndns but only for apple btmm use...  you cannot access.
    If you want to or have to use windows.. then get a proper vpn router that offers vpn endpoints to windows and has dyndns.. setup the TC in bridge behind the vpn router and access via vpn .. this is the only safe way of connecting using SMB.

  • SSH and media wiki not connecting from outside of my LAN

    I cant seem to connect to ssh or my mediawiki server from outside of my LAN. Ive forwarded all the needed ports and been going over my config all night. I also made sure my router wasn't blocking anything.
    -ssh tells me connection denied
    -when i go to my http server i can list directorys but as soon as i try to load media wiki i get a 502 error
    *these problems do not happen if im connecting from another machine in my local LAN
    This is my sshd_config
    # $OpenBSD: ssh_config,v 1.25 2009/02/17 01:28:32 djm Exp $
    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.
    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.
    # Site-wide defaults for some commonly used options. For a comprehensive
    # list of available options, their meanings and defaults, please see the
    # ssh_config(5) man page.
    #Host *
    # ForwardAgent no
    # ForwardX11 yes
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    #HostbasedAuthentication yes
    # GSSAPIAuthentication no
    # GSSAPIDelegateCredentials no
    # BatchMode no
    # CheckHostIP yes
    #AddressFamily any
    # ConnectTimeout 0
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    #Port 22
    Protocol 2
    # Cipher 3des
    # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
    # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
    # EscapeChar ~
    # Tunnel yes
    # TunnelDevice any:any
    # PermitLocalCommand no
    # VisualHostKey no
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    #HostbasedAuthentication no
    #PasswordAuthentication no
    #HashKnownHosts yes
    #StrictHostKeyChecking ask
    #LoginGraceTime 120
    #PermitRootLogin no # (put yes here if you want root login)
    hosts.deny
    # /etc/hosts.allow
    sshd: ALL
    mysqld: ALL
    # End of file
    # /etc/hosts.deny
    ALL: ALL: DENY
    # End of file
    hosts.allow
    # /etc/hosts.allow
    sshd: ALL
    mysqld: ALL
    # End of file
    I feel like its a security policy or something im not catching.
    Ive been searching and working to fix this all night to no avail.
    Thanks ahead of time for any help.

    djszapi wrote:
    Hello ahronzombi!
    Do you try it with apache web server ? If yes, is there any related information in the apache.log when someone try to connect from out. What's in your http server related config files, vhosts, etc?
    Ill try that today. i tried something similar with sshd and looked at the verbose output of the program when trying to connect remotely. it was never touched, like no one tried to connect. i feel like its a network security issue since i can connect locally. but ill check these logs as well

  • Do I need a domain name in order to connect to my Mini Server 10.8.2 from outside my network?

    I am working on setting up my mac mini server. Aside from in home file sharing I want ot be able to connect to some files remotely and even upload files, say pictures from my camera, to my server from outside my network. I am only looking to have maybe 2 users that have access. Should I get a domain name from a place like GoDaddy? in order to set up server to use domain in initial setup? I have 2 Drobos connected with my music, videos and pictures and I wat to access them from an Android, Windows and iPod device when away from home. Any how-tos out there or good step by step guides?
    Thanks for any information.
    -Peace
    -Dave

    A normal address like www.domain.com is intended to work with static IP addresses, DynDNS is a service specifically intended for dynamic addresses and it will therefore automatically update the address e.g. name.dyndns.org to match the dynamic IP address each time it changes.
    Some home broadband routers have built-in support to act as a DynDNS client but if yours does not then you can run the DynDNS software on your Mac server. This will then tell the DynDNS servers what your current dynamic IP address is so they can map it to your host name.
    The result will be that your users can use a name like yourname.dyndns.org to access your server and not have to worry about the fact your IP address may change.
    You would still need to run a VPN server to allow your remote users to connect to your network but OS X Server can do this. You could also run a website but depending on your needs that might be better done by using a web hosting service.

  • Domain computers can't runt RD Web applications when connected from outside company – Windows server 2012 R2

    Hi Everyone,
    I have a question related to RDweb service.
    I have successfully installed RD web role on windows server 2012 R2.
    All went ok. I also installed a valid third party certificate.
    I can connect from outside to the server and run applications using any devices: Ipad’s, mobiles and laptops.
    The problem is that: Any Computer/Laptop that is joined on the domain can connect to RDWEB from outside the company BUT CAN'T RUN ANY APPLICATIONS. The RD session is taking long time it failes.
    Note that from inside the network is working.
    What it can be?
    Thank you in advance,
    Criss

    Hi,
    The internet connection from where I’m doing the tests is quite good. I think the error with the latency is not relevant because probably the computerRD gateway it doesn’t allow it and that way it fails with this error. For a computer that never been joined
    on the domain is working perfect no delay at all..
    We are using RD Gateway … installed everything on the same machine Windows server 2012 R2.
    When I click RemoteApp I see the remote the prompt of RD gateway, I click ok, then nothing happened for 2-3 min. after this time it brings the error with the delay.. OR “couldn’t connect on the remote computer because an error occurred on the remote
    computer that you want to connect to.”
    Again, the connection is failing ONLY when we try to connect from outside the company and it happened ONLY with the Computers that are joined on the Domain.
    EX: An user (with Office Laptop - joined on domain) can connect to RD Gateway and lunch the RemoteApp’s from inside LAN but when is leaving Home can’t run the Remote App;s. In the meantime he can connect and run RemoteApp’s with his private computer.
    What it can be different between the Office and his home private computer?
    For Outside users we’ve have open only port 443 on firewall. Why need to open UPD 3391?
    I’ve notice that if I take a laptop that is working and join it on the domain it will have the same issue. If will dis-join it will still have the same issue after all.
    Thank You

  • Block connections from outside a country?

    Hi there,
    I would like to keep certain ports open for remote access - ssh, ftp and vnc as examples.
    When I do a whois on those IP's it gives me a good idea of where those unauthorized connection attempts are coming from.
    http://www.abuseipdb.com/whois/91.229.77.4
    The above being a good example.
    Is it possible to setup rules that automatically disconnect attempts from outside the UK (in my situation) ?  I realise I could whitelist the IP's I use but I find this a bit of a pain since I move around a lot.  My passwords and logins are reasonably secure - but having this setup would dramatically help security.
    I know my own IP shows me being somewhere in Englandshire but I do live in deepest darkest Scotland, So I'm aware the IP lookup is not perfect ... however is it possible just to blacklist series of IPs that don't orginate from certain countries?

    I say dramatically help security - but I know someone is going to comment, let me rephrase - dramatically help obscurity =D  I realise people can proxy etc but I'm just looking to slow down bots and toolkits - if someone really wants to connect let them bruteforce.  I'd just rather automatically block the ones I'm not interested in.
    I use little snitch, having had a poke around I see someone uses IP lists that they convert into CIDR and then pipe into little snitch.
    http://forums.mozillazine.org/viewtopic.php?f=38&t=2520179
    I realise utils like peerguardian used to be all the rage for blocking bittorrent peers from certain companies -- but does anyone know of any app that does what I'm looking for automagically?

  • Telnet from Outside switch to DMZ switch connected to ASA.

    Hi all,
    I have switch b connected to ASA  with fas0/40 under vlan 40.
    ASA connection to this switch is under Vlan 3 which is DMZ.
    OSPF is running between OSPF and DMZ switch.
    I was trying to telnet from Outside interface switch to DMZ  switch which goes through the ASA.
    My question is is it possible from Outside Switch to ping the DMZ switch or telnet to it as connection has to pass by ASA ?
    Thanks
    Mahesh

    Hello Mahesh,
    Yes, as I said on my previous post
    access-list outside_in permit tcp host outside_switch_ip host dmz_switch_ip eq 23
    access-group outside_in in interface outside
    If you want to check if everything is properly setup for that connection to work across the ASA do the following:
    packet-tracer input outside tcp outside_ip_switch 1025 dmz_switch_ip 23
    Remember to rate all of the helpful posts
    Julio

  • Tomcat copies .class files from outside its classpath to work dir - ???.

    I posted this question here in March but got no replies. Here goes again:
    Hello:
    I've found that Tomcat has copies of some (but not all) of my
    class files in a directory unde the work dir. These are
    classes that were created by me for use in my web apps (
    although they are not web-specific). The time stamps on the files
    vary, and they are usually not the most recent versions.
    I came across this when I encountered a strange error where one
    of my jsp pages wouldn't compile. A constant in one of my
    classes could not be accessed in the page. It looked like a
    package naming error ("Class thingy really contains class
    foo.bar.thingy"), but the class was in the right place with the
    right name. I decided to look for other copies of the class on
    the disk, and found the classes in tomcat's work dir. In the
    end, providing the fully qualified class name solved the
    first problem, but left me wondering why some of my classes had
    been copied.
    Can anyone tell me why Tomcat would copy these files?
    Thanks,
    Pat Reaney

    I have a context called "roc"
    under the root in tomcat, and in the
    work\localhost_8080%2Froc directory there is a
    "com\roc\fame" directory with a single class in it
    that is a copy of the class that already exists in
    c:\java\com\roc\fame. c:\java is in my classpath, and
    I keep all my non-tomcat specific code there, so
    evidently tomcat copied the class to its own work
    dir.Ahhhh! OK - so the class files are copied from outside %TOMCAT_HOME%... that makes a little more sense (although still not much!!) I'm guessing this has something to do with the whole WAR file thing... since Tomcat is becoming more geared toward serving up apps that are deployed to it as WAR files, typically all the class files would be found under webapps/yourContextRoot/WEB-INF/classes - so maybe if they're elsewhere, Tomcat has its own sinister reasons for copying them to the work directory... (see leukbr's list above)

  • USB External HD Connected to Airport Extreme - access from outside network?

    Hi,
    Is there any type of software that I can get that would allow me to access my shared external hard drive w/ my airport extreme from outside the network, like some type of ftp server or anything that would allow me to access it from outside my home?

    A simple way would be to share it via Apple File Sharing and FTP...
    You'll need a static Ip and a hostname, although it is easy to set up if you have a dynamic Ip too...
    Creat a free hostname on "www.dyndns.com" (for example), open your AFP and FTP ports on your router, and then use sotware such as "Rumpus" for the FTP service and tell it what drive you want to share (it can be a network drive). For AFP, all you have to do is connect to the server from the finder, hitting "Go...Connect to Server.."
    I've got my extreme drive shared globally and it works fine...just need some time and patience to set up the ports and hostnames...
    If you need help on the setup just email me... [email protected] and i'll be happy to answer any questions...

  • Connecting from outside into VM

    Hello
    I have a server application running that I need to access from external sources.
    I am unable to connect from external clients to the server application. 
    I tried using with public ip and fqdn to no avail
    Any help in the right direction would be greatly appreciated

    Hi,
    So the issue is that you want to connect to your application from outside using the publiuc IP.
    Yes you can do that, but you should know that your application uses one or more ports. And Azure, by default only allow two ports (Rmeote Desktop and Management). You will need to allow the trafic on your application ports. In Azure, we talk about Endpoints.
    So go to your VM>Endpoints
    Click Add
    Create a new Endpoint and choose the public port and the Private port.
    What do Private and Public mean ?
    The Private port mean the port that your application listen to : Example my application listen on port 445, so the traffic need to reach the server on that port
    The Public Port means what port my client will use to send trafic to the application. In a standard configuration, the public port is equal to the private port. But for some reasons (I will detail them if you ask), they can differ. So we create the mapping
    between them. Suppose that i will type port 6789
    What happens then ?
    My client will send the traffic to the Public IP on port 6789, when the traffic reaches Azure, Azure will pass the traffic to the VM but will change the port to 445 (Private Port). My application will work perfectly.
    Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com

  • Connect from Outside

    Hi,
    I'm to connect to one 11g DB that run in SUSE. Here is the name of the DB
    SQL> select name from v$database;
    NAME
    ORCL
    SQL>
    select instance_name from v$instance ;
    INSTANCE_NAME
    orcl
    But when I login as root in the SUSE machine I've got this (the reason of that I used ssh, is due to that telnet is not available in SUSE)
    [root@webserver oracle]# ssh -p 1521 orcl
    ssh: Could not resolve hostname orcl: Name or service not known
    Any advice for this message above?

    HuaMin Chen wrote:
    Many thanks Edstevens. Then how can I achieve that I want to be able to connect to it from outside. I know that "ssh/telnet" is one pre-condition for that, isn't it?Not necessarily. As I said before, you can install the oracle client on your desktop/laptop and use the tools from there. No need for ssh at all.
    >
    Another thing is:
    I've just added 1521 port to the router
    http://www.4shared.com/photo/SdPj4_y1/fig100.html
    Do I need to reboot the router? Does anyone know if there's a "reboot" option for this model "TL-WR740N "?Don't know. I'm not a router guy.
    >
    Within the machine, I can ssh to 22 port without any problem:That's because port 22 is the standard port for the ssh communications protocol
    >
    [root@webserver ~]# ssh -p 22 3masters.dyndns.info
    [email protected]'s password:
    Last login: Fri May 13 23:30:13 2011 from 014198214097.ctinets.comFine, you can connect to the server.
    As I said before, don't do this as root. Don't do anything as root that doesn't absolutely require the very powerful privileges of root.
    [root@webserver ~]# exit
    logout
    But I do have problem to ssh to 1521 port below:
    [root@webserver ~]# ssh -p 1521 3masters.dyndns.info
    ssh_exchange_identification: Connection closed by remote host
    One more time: port 1521 is used by the oracle listener to to listen for connection requests to the oracle database. SSH is not making such a request and is NOT the tool for connecting to the database. The listener has no idea what is being asked of it when ssh sends it a packet, so the listener refuses to deal with it. You DO NOT connect to port 1521 with ssh. You connect to port 1521 with an Oracle compliant, OCI aware, program such as sqlplus.
    Any ideas?
    Think of SSH as being unix's equivielent to Windows cmd.exe. You don't connect to the database with cmd, though you may open cmd and then, from there, execute sqlplus.
    What do you imagine yourself doing once you 'connect from the outside'? What commands are you expecting to give? What are you expecting to see?
    Best regards
    Edited by: HuaMin Chen on May 13, 2011 11:51 PM

  • No rtmp connection (from outside)

    Hi guys,
    Just a little/hopefully simple Problem. I want to access a shared Object on my server (my Desktop PC). The connection looks like this:
    This all works:
    main_nc.connect("rtmp:/flashapp");
    main_nc.connect("rtmp://localhost/flashapp");
    main_nc.connect("rtmp://my_Internal_IP/flashapp");
    But this is working only from the mashine the server is running on. No access from other computers in the same network seems to be possible.
    I configured my firewall (Router) to forward port 80,1935 to my IP address. The Apache server which comes with FMS  is accessible from the network but not from outside (Internet) --> I guess thats just a Problem of a Apache config file?! But as I've read before the FMS is running without the Apache as well!?
    So, does anyone have an idea how I have to configure the FMS to access it from the Internet?
    Thanks in advance

    I'm having the same issue. It seems to be an issue with passive connections (vs. active connections). We've found active connections work fine, but passive connections fail.

  • Creating OIA connection from outside OIA

    Hi,
    We need to access OIA application using API's.
    Could you please let us know how to create the OIA connection from outside OIA, so that we can run sql queries and call OIA API using Java code.
    Thanks

    Hi,
    We need to access OIA application using API's.
    Could you please let us know how to create the OIA connection from outside OIA, so that we can run sql queries and call OIA API using Java code.
    Thanks

Maybe you are looking for

  • External Hard Drive Read Only. Please Help!

    So I have looked for answers and I can't find one. I need help ASAP cause I have to edit pictures and I have no space. Ive read that I have to format my ED but it was working just fine. I don't want to erase none of the backups in there. Theres about

  • Pages 5.2: two letters with accent (e.g. "éé") issue

    I use the Dutch version of Pages 5.2 with OS X 10.9.2. Whenever I type two vowels that both have accents (e.g. "één", "héél" or "dóór") my typing cursor disappears as soon as I enter the second accent. Normally (as in: in Pages '09), this would be th

  • How to create xml entity in sap

    hi,   kindly tell me process of creating xml entity in sap. regrad's vineet

  • X-Fi XtremeMusic - High Pitched No

    Been trying to resolve this problem for a couple days and thought I'd ask here. I've done a clean boot and reinstall of the drivers as told in the FAQ, and used the latest drivers from the website. I just got the game Company of Heroes a couple days

  • DKIM for OS X Server's mail server

    I'm trying to enable DKIM for OS X Server (Mountain Lion) just as easily as it was to do so in Lion Server. I did try, based upon the 10.7 manual - changing to the new location, but I'm stuck at running amavisd showkeys It tells me: Config file "/etc