Answer the question
In order to leave comments, you need to log in
VK on localhost?
I use vue-cli
How to make VK widgets work on LAN?
Tried and so
And did not understand how to do it in cli?
if I change the port to 80, then it doesn’t launch the npm dev command
PS
what does this command do and is it safe?)
sudo iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8000
Answer the question
In order to leave comments, you need to log in
if I change the port to 80, then it does not start on the npm dev command
The command seems to redirect all outgoing requests from 80 to 8000, but this is not accurate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question