Results 1 to 4 of 4

Thread: Port forwarding unsuccessful on ubuntu 18.04

  1. #1
    Join Date
    Oct 2020
    Beans
    1

    Port forwarding unsuccessful on ubuntu 18.04

    Hi,
    I have tried to open a port on ubuntu 18.04 desktop version.
    I have managed to point the internal ip address (192.168.1.xxx) to my pc MAC in the DHCP and add up a profile of port (internal ip mapped to port) that needs to be opened up in PortForwarding page in router.
    In ubuntu, I have run the command sudo ufw allow portnumber/tcp and check the ufw status which is active and port is working.
    After completing all the above, I got "post is closed" once checking with yougetsignal.com and "times out" with canyouseeme.com.
    If there anything I have done wrong? Thanks for the help.

  2. #2
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,612
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Port forwarding unsuccessful on ubuntu 18.04

    Quote Originally Posted by bigbluewind View Post
    After completing all the above, I got "post is closed" once checking with yougetsignal.com and "times out" with canyouseeme.com
    Is the service that's supposed to answer on that port even running?
    Can you post the output of this command please:
    Code:
    sudo lsof -n -i -P

  3. #3
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    10,139

    Re: Port forwarding unsuccessful on ubuntu 18.04

    Note that a Berkeley Port is a number in the header of a datagram. The Port number is used to route the datagram to/from a server.

    A Port is considered Closed when:
    a. The server is not listening, or not even running at all.
    b. The network packet filter drops the datagram on the floor, so it cannot get to the server.

    So, first make sure that your server is actually running and working properly, before playing with the packet filter.

  4. #4
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Port forwarding unsuccessful on ubuntu 18.04

    Thread moved to Networking & Wireless for a better fit

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •