Page 1 sur 1

port modification

Publié : mer. avr. 03, 2024 2:28 pm
par anis
hello
i want to change port of localhost:8080/squash
how can i change the port from 8080 to another one????
thanks

Re: port modification

Publié : mer. avr. 03, 2024 2:39 pm
par tlefaucheur
Hello, it seems that this article could help you: https://www.squashtest.com/post/tutoria ... rt?lang=en

Re: port modification

Publié : mer. avr. 03, 2024 2:50 pm
par anis
tlefaucheur a écrit : mer. avr. 03, 2024 2:39 pm Hello, it seems that this article could help you: https://www.squashtest.com/post/tutoria ... rt?lang=en
well i saw it and it says to go trough this ( Windows :In bin/startup.bat : set HTTP_PORT=8080)
but the problem that i can't find any file named startup.bat in bin

Re: port modification

Publié : mer. avr. 03, 2024 3:15 pm
par tlefaucheur
Here is the official documentation: https://tm-en.doc.squashtest.com/latest ... ccess-port.
You can access the .bat file in the .bin folder.

Re: port modification

Publié : mer. avr. 03, 2024 3:46 pm
par anis
tlefaucheur a écrit : mer. avr. 03, 2024 3:15 pm Here is the official documentation: https://tm-en.doc.squashtest.com/latest ... ccess-port.
You can access the .bat file in the .bin folder.
this what i got in bin

Re: port modification

Publié : mer. avr. 03, 2024 3:58 pm
par tlefaucheur
To activate hidden filename extensions in Windows:

Open File Explorer (open any folder).
Click on the View tab.
Select "File name extension".
File name extensions are now visible.

If you do that, you will see that the penultimate file in your folder is actually called "startup.bat", and all you have to do is change the port in this file.

Re: port modification

Publié : mer. avr. 03, 2024 4:17 pm
par anis
tlefaucheur a écrit : mer. avr. 03, 2024 3:58 pm To activate hidden filename extensions in Windows:

Open File Explorer (open any folder).
Click on the View tab.
Select "File name extension".
File name extensions are now visible.

If you do that, you will see that the penultimate file in your folder is actually called "startup.bat", and all you have to do is change the port in this file.
the problem is it does show up and disappear immediately i can't write anything

Re: port modification

Publié : mer. avr. 03, 2024 4:35 pm
par tlefaucheur
Je crois que vous parlez français, ce sera plus simple.
Pouvez-vous ouvrir le fichier "startup.bat" avec un éditeur de texte de type bloc note ou notepad++ ?
C'est une fois que vous aurez ouvert ce fichier dans l'éditeur de texte que vous pourrez modifier le nom du port.
Vous n'aurez ensuite plus qu'à fermer et enregistrer le fichier pour que la modification soit effective.

Re: port modification

Publié : mer. avr. 03, 2024 5:13 pm
par anis
tlefaucheur a écrit : mer. avr. 03, 2024 4:35 pm Je crois que vous parlez français, ce sera plus simple.
Pouvez-vous ouvrir le fichier "startup.bat" avec un éditeur de texte de type bloc note ou notepad++ ?
C'est une fois que vous aurez ouvert ce fichier dans l'éditeur de texte que vous pourrez modifier le nom du port.
Vous n'aurez ensuite plus qu'à fermer et enregistrer le fichier pour que la modification soit effective.
merci beaucoup
tu m'as vraiment aidé