Jump to content


Photo

how can I set application adress

application folder adress

  • Please log in to reply
6 replies to this topic

#1 marcus_ge

marcus_ge

    Newbie

  • uniGUI Subscriber
  • Pip
  • 7 posts

Posted 08 March 2017 - 07:22 AM

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


  • 0

#2 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 10250 posts

Posted 08 March 2017 - 07:39 AM

Hello

 

You can start your app like

http://servernname:8077

 

There is no need to add a path

 

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

 

Or you can use ISAPI modules and call each app such as

 

http://servernname/mynewapp.dll


  • 0

#3 marcus_ge

marcus_ge

    Newbie

  • uniGUI Subscriber
  • Pip
  • 7 posts

Posted 08 March 2017 - 09:07 AM

thank You!


  • 0

#4 ricardolb

ricardolb

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 53 posts

Posted 14 March 2017 - 07:36 PM

If you use Apache, you can set Alias for different DLLs, then you can access your app like http://ip:port/AnythingYouWant


  • 0

#5 Abaksoft

Abaksoft

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 605 posts
  • LocationAlgeria

Posted 22 February 2018 - 08:07 AM

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...ports_logiciels

 

Thx.


  • 0

#6 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4768 posts

Posted 22 February 2018 - 09:16 AM

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...ter_networking)

https://ru.wikipedia...пьютерные_сети)

https://ru.wikibooks...ki/Сетевой_порт

 

Best regards,


  • 1

#7 Abaksoft

Abaksoft

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 605 posts
  • LocationAlgeria

Posted 22 February 2018 - 09:27 AM

Perfect DD,

Thank you very much  :)


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users