Jump to content

Ubuntu Server Port Opening

So I'm trying to open a port for a program on my server.

 

I feel like I've tried everything and nothing works.

I'm just using port 58585 for the hell of it.

I did ufw allow 58585, ufw allow 58585/tcp, ufw allow 58585/udp, ive done iptables and all that. I did "nc -l 58585" and that works 100%, only until the port gets checked then it stops

 

What other things could I try or do to open the port?

Link to comment
Share on other sites

Link to post
Share on other sites

Are you trying to do this in a home network? or on a VPS?

mY sYsTeM iS Not pErfoRmInG aS gOOd As I sAW oN yOuTuBe. WhA t IS a GoOd FaN CuRVe??!!? wHat aRe tEh GoOd OvERclok SeTTinGS FoR My CaRd??  HoW CaN I foRcE my GpU to uSe 1o0%? BuT WiLL i HaVE Bo0tllEnEcKs? RyZEN dOeS NoT peRfORm BetTer wItH HiGhER sPEED RaM!!dId i WiN teH SiLiCON LotTerrYyOu ShoUlD dEsHrOuD uR GPUmy SYstEm iS UNDerPerforMiNg iN WarzONEcan mY Pc Run WiNdOwS 11 ?woUld BaKInG MY GRaPHics card fIX it? MultimETeR TeSTiNG!! aMd'S GpU DrIvErS aRe as goOD aS NviDia's YOU SHoUlD oVERCloCk yOUR ramS To 5000C18

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Levent said:

Are you trying to do this in a home network? or on a VPS?

VPS, I'm trying to open the port on the VPS and using a vpn, use that port on a windows machine for a program

Link to comment
Share on other sites

Link to post
Share on other sites

Opening a port means there has to be a service or a program that is listening on it. nc (aka netcat) is one of the tools. If it can listen on port 58585 (default is TCP), then your program is not listening on that port. You need to configure the program to listen on the port first.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Khoomn said:

So I'm trying to open a port for a program on my server.

 

I feel like I've tried everything and nothing works.

I'm just using port 58585 for the hell of it.

I did ufw allow 58585, ufw allow 58585/tcp, ufw allow 58585/udp, ive done iptables and all that. I did "nc -l 58585" and that works 100%, only until the port gets checked then it stops

 

What other things could I try or do to open the port?

First of all, that is not a port that can be used, that range is used by the operating system for opening connection, you can try any number before 49151

Second, what program are you using that is listening to that port ?

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, Chunchunmaru_ said:

First of all, that is not a port that can be used, that range is used by the operating system for opening connection, you can try any number before 49151

Second, what program are you using that is listening to that port ?

I thought the max amount of ports was 65355?

 

And just to test to make sure 100% the port is open, im using iperf3

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×