Can't setup server on my computer

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Can't setup server on my computer

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Can't setup server on my computer
Can't setup server on my computer
2020-12-05 18:07:59
Model: Archer A6  
Hardware Version: V2
Firmware Version:

I am writing a simple chat program based on a client-server model.

The server listens to port 33000 and uses TCP.

 

When both client and the server are in the same LAN created with Archer A6 everything works fine.

That is the server is running on my desktop which has wire connection to the router and the client is running on my laptop which is connected to LAN via wifi.

I open the client and connect to the IP of my desktop in the LAN. Again, everything works.

 

Now, NAT comes in play when I want to make the server accessible from the Internet.

I used this official guide to set up my Archer A6. That is, NAT Forwarding->Virtual Servers-> I created new Service Type, set external and internal ports to 33000 and internal IP to IP of my desktop in LAN, protocol to TCP. Also I did not forget to enable the entry in the settings.

From my laptop I connect to the Internet via my phone's wifi hotspot.

Then I tried to open the client and connect to the WAN IP of my Archer A6 (I got the IP from the tplinkwifi.net, it is dynamic) and there was no result. Connection timed out.


Desktop OS: Ubuntu 20.04

Laptop OS: Ubuntu 18.04.

iptables are emtpy (only accept policies), no firewall enabled.

 

 

  0      
  0      
#1
Options
1 Reply
Re:Can't setup server on my computer
2020-12-08 16:39:51

@VictorKes 

 

Add the desktop to the DMZ just to test if removing any security works at all. If not, your desktop may have additional firewall settings: https://help.ubuntu.com/stable/ubuntu-help/net-firewall-on-off.html.en

 

I would also recommend checking free port checking websites from the server end to see if the port is seen as open as you test.. With respect to the port forwarding, select "ALL".

  0  
  0  
#2
Options
icon

Accessibility Adjustments

icon RESET

Choose the right accessibility profile for you

OFF

Seizure Safe

Eliminates flashes and reduces color

OFF

Cognitive Disability

Assists with reading and focusing

OFF

Vision Impaired

Enhances the website's visuals

OFF

ADHD Friendly

More focus and fewer distractions

Content Adjustments

Adjust Scale

icon
100%
icon

Highlight Title

icon

Highlight Link

icon

Text Magnifier

icon

Readable Font

icon

Adjust Fontsize

icon
100%
icon

Align Center

icon

Adjust LineHeight

icon
100%
icon

Align Left

icon

Adjust LetterSpacing

icon
100%
icon

Align Right

icon

Color Adjustment

Low Saturate

icon

High Saturate

icon

Dark Contrast

icon

Light Contrast

icon

Set Text Colors

Monochrome

icon

Set Title Colors

High Contrast

icon

Set BackgroundColor

Orientation Adjustments

Muted

icon

Hide Images

icon

Read Mode

icon

Stop Animation

icon

Reading Mask

icon

Highlight Hover

icon

Big Black Cursor

mutedicon

Big White Cursor

icon

Hide Video/Audio

icon

Stop Video

icon

Stop Audio

icon

Hide Animation

icon

Reading Guide

icon

Useful Links