Connecting from outside - Connection refused

Hey,
I am trying to connect to my home computer using VNC / FreeNX.
When trying to connect from inside the home network, everything works OK (using the internal network IP).
But, when trying to connect to the same computer using its internet IP, I get "connection refused".
Please note that I use a router for my home network, and I have DMZ enabled to the desktop computer.
I know that DMZ works OK (checked it with aMule).
hosts.allow and hosts.deny both contain nothing.
Tnx
Fiod

Check the logs on the box you're trying to connect to - you should be able to determine whether the connection attempt reached it and was rejected for some reason, or didn't reach it at all. In the first case, the log messages should give you some idea on how to fix it; in the second case, the problem would be on your router.

Similar Messages

  • 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

  • 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

  • Problem in getting the database connection from a connection pool

    Hai All,
    I am facing a problem in getting the database connection from a connection pool created on weblogic server 8.1.
    I am using the Oracle database 8.1.7.
    I have configured my connection pool, datasource and JNDI in weblogic.
    In my java program i have the following code to retrieve the connection.
    import java.sql.*;    
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    class jdbcshp1 {
        public static void main(String[] args) {
         Connection connection = null;
         try {
               Hashtable ht = new Hashtable();
               ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");  // Wanna get rid of this.
               ht.put(Context.PROVIDER_URL,"t3://localhost:7001"); // wanna get rid of this.
               // Get a context for the JNDI look up
               Context ctx = new InitialContext(ht);
            javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup ("myjndi1");
              //Create a connection object
              connection = ds.getConnection();
         The above code is working fine but, the two ht.put statements are creating problem.
    The problem is, after converting the application into WAR file it can be deployed
    on any machine or different port on same machine. My application fails if its deployed on
    weglogicserver which is at different port.
    Is there any way that i can get rid of those ht.put statements or any other way to solve the problem.
    any help is appreciated.
    Thanks in advance
    Pooja.

    Hai All,
    Firstly, thanks for ur reply.
    Even i have seen some code which uses context constructor with out any parameter and works fine.
    i dont understand why its not working for my code.
    When i remove those ht.put code and use context constructor with out any parameter, it giving an error.
    Context ctx = new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup ("ocjndi");
    connection = ds.getConnection();The error is as follows:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    the above error is forcing me to include those code but if the port number is changed the code will not work. Plz let meknow if some setting have to be made.
    I appreciate all ur valuable help.
    Thanks once again.
    Pooja.

  • 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

  • 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

  • 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?

  • 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

  • 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.

  • Problems connecting from "outside"

    Hi,
    i've a j2ee server successfully running on my machine, and all is ok when i try to connect to "http://localhost:8000/index.html" , but when i try via internet "http://<my IP address>:8000/index.html" i get a connection time out message...
    Someone can help me?
    Thanks in advance
    Luca

    Problem solved, probably posting msgs in this forum is a kind of "therapy" for me...
    The problem was "stupid" due to my carelessness, but if i can help anyone, here the solution: the winXP "built-in" firewall was blocking all the connections to my server.
    Hi,
    i've a j2ee server successfully running on my machine,
    and all is ok when i try to connect to
    "http://localhost:8000/index.html" , but when i try
    via internet "http://<my IP address>:8000/index.html"
    i get a connection time out message...
    Someone can help me?
    Thanks in advance
    Luca

  • How to stop Access Connections from automatically connecting to WAP at turn on or restart?

    I had a problem with my X200 winxp sp3 wireless connection. I got it working OK again but in the process I did something that changed the action of Access Connections when I turn on or restart the machine where it automatically connects to the WAP whereas before it did not do this, rather it required a manual connection. For the life of me I can't find the setting that controls this behavior...can anyone point me in the right direction.
    thanks for any feedback
    *Smith & Wesson...the original point and click interface*

    Might not answer completely, but what is your "profile" set to? I have a "profile" called Office that wll only use the "hardwire" LAN Connection. I have another "profile" called Mobile that will only use the Intel Wireless card, yet another that is "HSPA Modem" that will only use the AT&T wireless card.
    Could it be that your "profile" is set to use just your Wireless Connection?
    Just a thought -
    Message Edited by mickey53usa on 01-09-2009 02:01 PM

  • Simultaneous connection from Access connection

    Hello,
    How to use access connection for two simultaneous connections to a WLAN and a wired Internet to local network (LAN)
    Thank you in advance sorry for my english google translations

    Please let us know your Windows-version you have installed and what computer you use.
    Maybe this also will be helpful:
    Userguide for Access Connections for XP: http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles_pdf/c79taac52fr.pdf (french)
    User guide for Access Connections for Vista/Win7: http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles_pdf/c79szac51fr.pdf (french)
    My home-forum: http://www.thinkpad-forum.de
    Wiki: Deutsches ThinkPad-Wiki English ThinkWiki
    My ThinkPad-Collection

  • Can't connect from Mac to PC using MS Remote Desktop

    I have a 5 day old Windows 8.1 laptop. 
    My daughter has an application called Microsoft Remote Desktop 8.0.5 on her Mac. It is Microsoft-made application for Mac, like Office.
    I want her to access my computer, using this application, to access my computer from hers, even though she lives several states away (to show me how to use this computer). 
    Her application asks her for: 
    Connection Name
    PC Name (Enter Host Name or IP Address)
    Gateway (No Gateway Configured is the default), but she can add a Gateway, which then asks for a Gateway Name, Server, Username, and Password.
    Username (Enter Domain\User)
    Password
    Resolution (Native is the Default)
    Colors (32 bit is the Default)
    Fullscreen Mode (OS X Native is the Default)
    I found my IP addresses through the command prompt by typing ipconfig /all (Of course, nothing is actually called IP address.)
    She types in the "Default Gateway" into the PC name box and she can't connect. She types in the "IPv4 address" and it can't connect. (She has tried uninstalling and re-installing the software).
    The error message that she gets is "Unable to connect to remote PC. Please verify remote desktop is enabled, the remote pc is turned on and available on the network and try again."
    As far as I know, I allowed Remote Access, and I set up the Windows Firewall to allow Remote Access. I have uninstalled Norton Internet Security because I could not access my settings with it installed at all, and installed AVG for free instead, which only
    includes antivirus, no firewall.
    What do we do? How can she access my computer to teach me how to use it?

    Hi,
    Firstly, you need to the following on your side.
    1. Allow remote connections to the computer you want to access.
    2. Make sure Remote Desktop is able to communicate through your firewall.
    3. Find the IP address of the computer on your home network that you want to connect to.
    4. Open your router's configuration screen and forward TCP port 3389 to the destination computer's IP address.
    5. Find your router's public IP address so that Remote Desktop can find it on the Internet.
    Allow Remote Desktop connections from outside your home network
    http://windows.microsoft.com/en-HK/windows7/allow-remote-desktop-connections-from-outside-your-home-network
    Then, for your daughter.
    1. Connection Name: Optional.
    2. PC Name: Required. Enter the public IP address of your router.
    3. Gateway: No need here.
    4. User Name:
    YourComputerName\YourUserAccountName
    5. Password: The password of
    YourUserAccountName
    Getting Started with Remote Desktop Client on Mac
    http://technet.microsoft.com/library/dn473012
    Remote Desktop Client on Mac: FAQ
    http://technet.microsoft.com/library/dn473006
    However, please note that if your daughter connects to your computer, you will be disconnect and you cannot see what she is doing. It is be design.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Get Connection from connection pooling

    Hi,
    I am aware of the fact that to get connection from a connection pool we need to add JNDI name in context.xml of apache tomcat and use it in our application to get connection. I have tested this and it works fine.
    Now, we have 12 servers having free database each having almost 20 small Java applications for different purposes (get data from server database do some business logic and maipulation with data from central database and store on central database) each connecting to central database.
    We were enjoying life till we had almost 8-9 servers but now many times we have connection issues as there are too many connections to central database and servers are going to increase.
    I know my company design is not good but we need some solution.
    I want my Java applications to take database connectivity using connection pooling on servers. My Java applications are standalone applications that do not run in web server. Is this approach fine?
    I searched google for some solution but was unable to find.
    Any pointers would be really helpful.
    I think that since my application is outside web container I am unable to get Context (java:/comp/env). Please give me some pointers on how can i get web server context outside web server.
    Thanks and Regards,
    Vikash Anand.

    Google ( [jndi standalone application|http://www.google.com/search?q=jndi+standalone+application] ).

  • Error While creating new database connection from HFM workspace

    Hi,
    We have recently installed HFM and was trying to create database connection from database connection manager in HFM workspace.
    I am getting below error:
    "Error connecting to database connection : no HssJNIDriver950 in java.library.path" initially and later
    "Error connecting to database connection : com/hyperion/ap/adm/HssConn".
    Any information in this direction would helpful.
    Thanks,
    Bhargav
    Edited by: bhargavr on Jan 24, 2011 6:55 PM

    Hi bhargavr,
    We came accross the same issue. Try the following solution below for this 'KNOWN ISSUE' and let me know how you get on. Drop me a note if you have any questions regarding this post.
    Error: *"Error connecting to database connection: com/hyperion/ap/adm/HssConn" While Creating a Financial Management Database Connection* [ID 1102697.1]
    Modified 04-JAN-2011 Type PROBLEM Status PUBLISHED
    Applies to:
    Hyperion BI+ - Version: 11.1.2.0.00 and later [Release: 11.1 and later ]
    Microsoft Windows x64 (64-bit)
    Symptoms:
    You are running the Financial Reporting Web Server on a 64-bit server.
    When you try to create a new Financial Management (HFM) database connection using the Database Connection Manager in Workspace you receive the following message:
    “Error connecting to database connection <connection_name>: com/hyperion/ap/adm/HssConn”
    You can create a database connection in Financial Reporting Studio. When you refresh a report with a Financial Management database connection, you receive one of the following messages:
    “1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: com/hyperion/ap/adm/HssConn”
    or
    “1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: no HssJNIDriver950 in java.library.path”
    Cause:
    The issue is documented in unpublished bug 9537050, and in Known Issues in the 11.1.2 Reporting and Analysis Readme. Cross-reference unpublished bug 9707353.
    Solution:
    In the Windows registry, take the following steps:
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\HyperionSolutions\FinancialReporting0\HyS9FRReports.
    For each of the following entries, prefix the contents with text in the blue box: Env2, JVMOption13, and JVMOption17 (note that the JVMOption numbers might be slightly different in your environment).
    C:\Oracle\Middleware\EPMSystem11R1\common\ADM\11.1.2.0\bin-64
    If your EPM_ORACLE_HOME is not located at C:\Oracle\Middleware\EPMSystem11R1, replace that location with your location.
    Restart the server.
    G'Luck,
    -David

Maybe you are looking for

  • On the Computer using Adobe Digitial Edition there is no possibility to jump forward/back using the

    I am using a brand new iPad Air and a MacBook Pro with Retina and  on the Computer using Adobe Digitial Edition there is no possibility to jump forward/back using the arrows in the menu. It is not possible to jump to a certain page as well. The overa

  • Need to move my old btinternet email to my new bti...

    Hi, Newbie here! I have a btinternet email address that I use that actually belongs to my (ex) partners bt account.  Now we have split, I have my own btinternet account and would like to move my old email address from my partner's account to mine.  H

  • How to copy Report from another company (using PLD)

    Hi.. i create a new company, with empty data. Because i stop the training company and now start with live company. In training company, i created so many report, and now i must copy the reports to live company. I try to open two SAP window, and i ope

  • Getting warning when trying to hide/show subforms

    hi, i have a pdf form with several subforms on it. I made the hide/show form option with the click event of some buttons. It worked fine. I then tried to do the same using the initialize method for the form. form1.page1.Subform1.presence = "hidden";

  • How can I Convert a numeric string to a formatted string?

    I have a string value returned from a background tool that will range from 0 to possibly terabytes as a full number.  I want to format that number to use commas and to reduce the character count using an appropriate size modifier (KiB, MiB, GiB, etc)