Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-15736

FIWARE.Request.Lab.I cannot access a port of my virtual machine (altough I successfully activated ping).

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hello,

      We have resolve the issue.

      Please be informed that the node "SophiaAntipolis2" will be stopped at the end of the month.

      Thanks to migrate your instance to another node before the end of the month.

      Kind Regards,
      _______________________________________________________________________

      dear Fiware Lab Help,
      after some playing around and trying several times, I have now a virtual
      machine, with a small binary running. This small binary running has been
      tested on a local server, and it successfully admitted connections through
      port 8888

      I have now moved the binary to the virtual machine, and it has been running
      for some weeks. It seems to be stable.

      Now, I have tried setting rules to allow access through this port on my
      virtual machine to have the same communication.

      First added this rule both for my security group. I now believe this only
      owrks for virtual machines on your servers, so I also added it as on the
      public network (the 0.0.0.0/0).

      Neither of them allow my local application to connect through TCP.
      Testing it with https://www.yougetsignal.com/tools/open-ports/
      does tell me my port is closed.

      I also tried with port 80, and that web page also told me that the port is
      closed.
      However, I managed to enable the ping service. And I can access it through
      ssh.
      And I can ping google.com from the virtual machine.

      My account is associated to this email and my public ip is 185.52.32.61
      I also attach a screenshot of my security rules.

      What am I doing wrong?
      Thanks,
      Joan
      [image: Screenshot 2019-04-25 13.54.30.png]

      __________________________________________________________________________________________

      You can get more information about our cookies and privacy policies on the following links:

      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org

      To unsubscribe from Fiware-lab-help mailing list, go to the information page of the list at:
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: joan <joan.llobera@gmail.com>]

        Activity

        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        The issue has been emailed:

        • Time sent: 26/Apr/19 1:10 PM
        • To: joan.llobera@gmail.com
        • with subject: *(HELP-15736) [Fiware-lab-help] I cannot access a port of my virtual machine (altough I successfully activated ping) *

        Dear Joan,
        I'd like to know what interfaces is your program running and which ports.

        If I try to test your port 8888, then:
        nc -zv 185.52.32.61 8888
        nc: connect to 185.52.32.61 port 8888 (tcp) failed: Connection refused

        If I try to reach your port 80, then:
        nc -zv 185.52.32.61 80
        Connection to 185.52.32.61 80 port [tcp/http] succeeded!

        It can also happen your SophiaAntipolis provider has another firewall closing your ports. The ports could be opened but the provider might have them filtered.

        I'll assign this ticket to SophiaAntipolis support team. Please, answer with any relevant information to this email.

        Regards,
        José Ignacio

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        ------------------------
        Issue id: HELP-15736
        Description:
        dear Fiware Lab Help,
        after some playing around and trying several times, I have now a virtual
        machine, with a small binary running. This small binary running has been
        tested on a local server, and it successfully admitted connections through
        port 8888

        I have now moved the binary to the virtual machine, and it has been running
        for some weeks. It seems to be stable.

        Now, I have tried setting rules to allow access through this port on my
        virtual machine to have the same communication.

        First added this rule both for my security group. I now believe this only
        owrks for virtual machines on your servers, so I also added it as on the
        public network (the 0.0.0.0/0).

        Neither of them allow my local application to connect through TCP.
        Testing it with https://www.yougetsignal.com/tools/open-ports/
        does tell me my port is closed.

        I also tried with port 80, and that web page also told me that the port is
        closed.
        However, I managed to enable the ping service. And I can access it through
        ssh.
        And I can ping google.com from the virtual machine.

        My account is associated to this email and my public ip is 185.52.32.61
        I also attach a screenshot of my security rules.

        What am I doing wrong?
        Thanks,
        Joan
        [image: Screenshot 2019-04-25 13.54.30.png]

        __________________________________________________________________________________________

        You can get more information about our cookies and privacy policies on the following links:

        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fiware.org

        To unsubscribe from Fiware-lab-help mailing list, go to the information page of the list at:
        https://lists.fiware.org/listinfo/fiware-lab-help

        [Created via e-mail received from: joan <joan.llobera@gmail.com>]

        FIWARE Chapter:
        FIWARE GEri:

        Status: Open

        ---------------------
        This email was generated by FIWARE JIRA following an email received into the Main Help Desk.

        Show
        jicg José Ignacio Carretero Guarde added a comment - The issue has been emailed: Time sent: 26/Apr/19 1:10 PM To: joan.llobera@gmail.com with subject: *( HELP-15736 ) [Fiware-lab-help] I cannot access a port of my virtual machine (altough I successfully activated ping) * Dear Joan, I'd like to know what interfaces is your program running and which ports. If I try to test your port 8888, then: nc -zv 185.52.32.61 8888 nc: connect to 185.52.32.61 port 8888 (tcp) failed: Connection refused If I try to reach your port 80, then: nc -zv 185.52.32.61 80 Connection to 185.52.32.61 80 port [tcp/http] succeeded! It can also happen your SophiaAntipolis provider has another firewall closing your ports. The ports could be opened but the provider might have them filtered. I'll assign this ticket to SophiaAntipolis support team. Please, answer with any relevant information to this email. Regards, José Ignacio From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: ------------------------ Issue id: HELP-15736 Description: dear Fiware Lab Help, after some playing around and trying several times, I have now a virtual machine, with a small binary running. This small binary running has been tested on a local server, and it successfully admitted connections through port 8888 I have now moved the binary to the virtual machine, and it has been running for some weeks. It seems to be stable. Now, I have tried setting rules to allow access through this port on my virtual machine to have the same communication. First added this rule both for my security group. I now believe this only owrks for virtual machines on your servers, so I also added it as on the public network (the 0.0.0.0/0). Neither of them allow my local application to connect through TCP. Testing it with https://www.yougetsignal.com/tools/open-ports/ does tell me my port is closed. I also tried with port 80, and that web page also told me that the port is closed. However, I managed to enable the ping service. And I can access it through ssh. And I can ping google.com from the virtual machine. My account is associated to this email and my public ip is 185.52.32.61 I also attach a screenshot of my security rules. What am I doing wrong? Thanks, Joan [image: Screenshot 2019-04-25 13.54.30.png] __________________________________________________________________________________________ You can get more information about our cookies and privacy policies on the following links: https://wiki.fiware.org/FIWARE_Privacy_Policy https://wiki.fiware.org/Cookies_Policy_FIWARE Fiware-lab-help mailing list Fiware-lab-help@lists.fiware.org To unsubscribe from Fiware-lab-help mailing list, go to the information page of the list at: https://lists.fiware.org/listinfo/fiware-lab-help [Created via e-mail received from: joan <joan.llobera@gmail.com>] FIWARE Chapter: FIWARE GEri: Status: Open --------------------- This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
        Hide
        fw.ext.user FW External User added a comment -

        hi,
        I am not doing anything in particular in the linux machine.
        The server is configured to listen for TCP connections in port 8888
        It is a simple unity3d project,
        At the moment my program does nothing in port 80, although I plan to put a
        simple http server there in the future.

        If it works for port 80, it means I successfully opened port 80.
        Despite the fact that I also opened port 8888 in the same way, it does not
        work.
        Therefore, it may well be that it is behind some kind of firewall.

        How can I find out which ports my SophiaAntipolis provider is filtering?
        I can change the port of my program, but I would need to know which ports
        are accessible.

        Any suggestion to how to do this is welcome.
        I notice how you use the nc command, and will use it in this way in the
        future.
        Thanks,
        Joan

        On Fri, 26 Apr 2019, 13:11 Help-Desk, <jira-help-desk@jira.fiware.org>

        Show
        fw.ext.user FW External User added a comment - hi, I am not doing anything in particular in the linux machine. The server is configured to listen for TCP connections in port 8888 It is a simple unity3d project, At the moment my program does nothing in port 80, although I plan to put a simple http server there in the future. If it works for port 80, it means I successfully opened port 80. Despite the fact that I also opened port 8888 in the same way, it does not work. Therefore, it may well be that it is behind some kind of firewall. How can I find out which ports my SophiaAntipolis provider is filtering? I can change the port of my program, but I would need to know which ports are accessible. Any suggestion to how to do this is welcome. I notice how you use the nc command, and will use it in this way in the future. Thanks, Joan On Fri, 26 Apr 2019, 13:11 Help-Desk, <jira-help-desk@jira.fiware.org>
        Hide
        fw.ext.user FW External User added a comment -

        hi,
        since you said you could see port 80 open by port 8888 closed I have tried
        to set up my service on port 80, instead of port 8888, but I was not
        successful establishing a connection.
        There must be some problem in my configuration?

        Also, when I run
        on my virtual machine, what I get is this:
        Proto Recv-Q Send-Q Local Address Foreign Address State
        tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
        tcp 0 410 192.168.111.122:22 112.85.42.187:20754 LAST_ACK
        tcp 0 256 192.168.111.122:22 217.126.82.25:50674
        ESTABLISHED
        tcp6 0 0 :::22 :::* LISTEN

        there seems to be no open port except the 22.
        I am wondering how I can connect my virtual machine ports 80 and 8888 to
        the public ip that I have associated with my virtual machine.
        Pointers to tutorials, or similar, are welcome, I am really new in this
        stuff.

        Thanks,
        Joan

        Missatge de Help-Desk <jira-help-desk@jira.fiware.org> del dia dv., 26
        d’abr. 2019 a les 19:04:


        ---------------------------------------------------------
        Joan Llobera - http://joan.llobera.name
        joan.llobera@gmail.com

        Show
        fw.ext.user FW External User added a comment - hi, since you said you could see port 80 open by port 8888 closed I have tried to set up my service on port 80, instead of port 8888, but I was not successful establishing a connection. There must be some problem in my configuration? Also, when I run on my virtual machine, what I get is this: Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 410 192.168.111.122:22 112.85.42.187:20754 LAST_ACK tcp 0 256 192.168.111.122:22 217.126.82.25:50674 ESTABLISHED tcp6 0 0 :::22 :::* LISTEN there seems to be no open port except the 22. I am wondering how I can connect my virtual machine ports 80 and 8888 to the public ip that I have associated with my virtual machine. Pointers to tutorials, or similar, are welcome, I am really new in this stuff. Thanks, Joan Missatge de Help-Desk <jira-help-desk@jira.fiware.org> del dia dv., 26 d’abr. 2019 a les 19:04: – --------------------------------------------------------- Joan Llobera - http://joan.llobera.name joan.llobera@gmail.com
        Hide
        fw.ext.user FW External User added a comment -

        hi,
        after many trials I think I found a configuration that allows connections
        to my service through a port.
        I will follow the same procedure from now on.
        Thanks,
        Joan

        Missatge de Help-Desk <jira-help-desk@jira.fiware.org> del dia dj., 2 de


        ---------------------------------------------------------
        Joan Llobera - http://joan.llobera.name
        joan.llobera@gmail.com

        Show
        fw.ext.user FW External User added a comment - hi, after many trials I think I found a configuration that allows connections to my service through a port. I will follow the same procedure from now on. Thanks, Joan Missatge de Help-Desk <jira-help-desk@jira.fiware.org> del dia dj., 2 de – --------------------------------------------------------- Joan Llobera - http://joan.llobera.name joan.llobera@gmail.com

          People

          • Assignee:
            Com4Innov Sophia Antipolis Node Helpdesk
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: