Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cant set port in windowls 10 #2151

Closed
murilolivorato opened this issue May 27, 2019 · 4 comments
Closed

I cant set port in windowls 10 #2151

murilolivorato opened this issue May 27, 2019 · 4 comments

Comments

@murilolivorato
Copy link

murilolivorato commented May 27, 2019

Hello , I always used Laradock and Docker . but now I formated my computer . and installed windowls 10 ,
The problem is that windowls 10 does not aloud me to use port 80 . so I am trying to use port 8080 .
I have been having some problems , could some one help me here please ?

I am doing this -

I setted the .env file
1

I setted the docker-compose.yml file -
2

nginx/sites/default.conf
3

windols - C:\Windows\System32\drivers\etc\hosts
4

I type - docker-compose up -d nginx
It is working ok -
6

But I it cant find the host -
5

@murilolivorato
Copy link
Author

I used port 8081 , now it is ok .

@xiagw
Copy link
Contributor

xiagw commented Jun 8, 2019

@murilolivorato
1, docker-compose.yml file , do not need to change
2, nginx/sites/default.conf, (look at "root /var/www/public")
You only need to create a directory:

mkdir laradock/../public
echo "welcome" >laradock/../public/index.html

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants