Davinder
Did you open port 8080 on the Ubuntu firewall?
Ubuntu, and to be honest almost ALL Linux distributions come with all ports blocked by some form of firewall. The challenge is knowing how to unblock the port since not all Linux versions use the same firewall program/methodology.
What I generally find is the easiest is to run something like the following on the server to make sure the port is open and accessible:
OPEN (1) "[tcp];8080"
WHILE 1
READ RECORD (1,END=*BREAK) R$
PRINT R$
WEND
Then I go to an external workstation and issue:
OPEN (1) "[tcp]serverIP;8080"
WRITE RECORD (1) "Hello World"
WRITE RECORD (1) "Kilroy was here"
CLOSE (1)
On the server you should see the data written.
Should the OPEN fail you can generally assume the port is blocked (or you have the wrong IP address).
This approach will help identify if the port is open and accessible.
Did you open port 8080 on the Ubuntu firewall?
Ubuntu, and to be honest almost ALL Linux distributions come with all ports blocked by some form of firewall. The challenge is knowing how to unblock the port since not all Linux versions use the same firewall program/methodology.
What I generally find is the easiest is to run something like the following on the server to make sure the port is open and accessible:
OPEN (1) "[tcp];8080"
WHILE 1
READ RECORD (1,END=*BREAK) R$
PRINT R$
WEND
Then I go to an external workstation and issue:
OPEN (1) "[tcp]serverIP;8080"
WRITE RECORD (1) "Hello World"
WRITE RECORD (1) "Kilroy was here"
CLOSE (1)
On the server you should see the data written.
Should the OPEN fail you can generally assume the port is blocked (or you have the wrong IP address).
This approach will help identify if the port is open and accessible.