Windows host entry with port number




















Peter Mortensen Do check superuser. Add a comment. Active Oldest Votes. Simply use IP addresses without ports. Example: Improve this answer. It will be helpful to add both path and the name of the file to be edited. That's covered in the other answers.

You can achieve this with Fiddler though using FiddlerScript: if oSession. HostnameIs "somesite. Community Bot 1. John T John T k 25 25 gold badges silver badges bronze badges. Nice suggestion for tech users. How quickly will I get my solution? We can't guarantee quick solutions - Experts Exchange isn't a help desk. We're a community of IT professionals committed to sharing knowledge. Our experts volunteer their time to help other people in the technology industry learn and succeed.

Plans and Pricing. Contact Us. Collectives on Stack Overflow. Learn more. Using port number in Windows host file Ask Question. Asked 10 years ago. Active 1 year, 1 month ago. Viewed k times. RayLoveless Charles Yeung Charles Yeung Maybe review this and switch the accepted answer to the netsh answer?

I ended up here when trying to figure out how to map. The question is: are you trying to redirect a whole host to a single port?! Most answers here are on how to redirect or at least try to redirect Or you do not care at all where this will be redirected? Add a comment. Active Oldest Votes. Example Overview example. Note: I am assuming This isn't working for me.

DonBox: If you provide some more details on your setup maybe I could help you. Using If you can start at another address you don't need the whole port forwarding mechanism, you just need to modify the hosts file Perhaps, as detailed here , you have not got the ipv6 protocol installed: use the following command to install them : netsh interface ipv6 install — Pau Coma Ramirez.

This should be the accepted answer because the tools are already installed in my base windows 10 install and this does exactly what I needed. Doesn't work for me. Netsh seems to forward the address, but not the port. I use docker's portainer. If it relates to both, quote both - either full quotes or partial quotes. If you use https all the advertising will generate an error as the content may be interpretated as coming from non-secure sites.

It does not interact with TCP layer 4 in any way. To continue this discussion, please ask a new question. Get answers from your peers along with millions of IT pros who visit Spiceworks. I was thinking possibly they can enter "helpdesk" into their browser instead What would I have to do in terms of the DNS record to complete this?

Best Answer. Ghost Chili. View this "Best Answer" in the replies below ». Popular Topics in DNS. Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ». Magnus Nov 21, at UTC. NetworkNerd This person is a verified professional. Verify your account to enable IT peers to see that you are a professional.

Martin This person is a verified professional.



0コメント

  • 1000 / 1000