Jump to content

how can I set application adress


marcus.bilan@gmx.de

Recommended Posts

Hello,

 

I want to install an uniGUI application as a Windows service on my private server.

I have several Java applications on TomCat running like:

 

servernname:8080/test/index.html

servernname:8080/runnings/index.html

servernname:8080/pictures/index.html

 

now I want to run my application like this:

 

servernname:8077/myBrandNewUniGUIApp

 

What shall I do? I Didn't found something like this in docs.

 

Marcus

Link to comment
Share on other sites

  • 11 months later...

Hello Farshad,

 

 

If you have more than one app you must assign a different port to each one.

 

 

Sorry for my ignoring,

What is the range of Port can we use  (not reserved )

 

- using the first peer 80  followed by any number. Is it a good rule ?

in ServerModule > Port = 8001,....8077, 8078, 8079... 

 

- Or can we use anynumber :

in ServerModule > Port =9001, 9002....

______________

Maybe Reserved ?

https://fr.wikipedia.org/wiki/Liste_de_ports_logiciels

 

Thx.

Link to comment
Share on other sites

Hi,

 

A port is just any arbitrary number from 0 to 65535. Theoretically, the port number does not affect anything. It is important only that this port is free. However, if your program finds that the port you specified is busy (that is, it is already listening to some other program on your computer), it will complain to you right away.

In practice, some numbers should not be chosen. Some numbers, especially small ones, can be occupied by the system services of your computer. Some numbers can be specially blocked by Internet providers.

If you do not value the port number aesthetically, it is recommended that you select a port above 5000. Some users recommend choosing a port above 42000.

For system and some popular programs, ports are identified with numbers from 0 to 1023, called system or commonly known.
Ports with numbers 1024 - 49151 are called user or registered.
Ports with numbers 49152 - 65535 are called dynamic, ephemeral or private.

 

https://en.wikipedia.org/wiki/Port_(computer_networking)

https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D1%80%D1%82_(%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80%D0%BD%D1%8B%D0%B5_%D1%81%D0%B5%D1%82%D0%B8)

https://ru.wikibooks.org/wiki/%D0%A1%D0%B5%D1%82%D0%B5%D0%B2%D0%BE%D0%B9_%D0%BF%D0%BE%D1%80%D1%82

 

Best regards,

  • Upvote 2
Link to comment
Share on other sites

×
×
  • Create New...