Local host upload problems

I was wondering if somebody who’s managed to fix this could provide an example snippet from their hosts file along with their site name. @Zlash65 Zarrar has posted the solution for this a few times, but it’s not working for me and I’m not sure why.

I have multiple benches (but not running simultaneously) and only the newest ( seems work. I want to load a file into the bench that normally corresponds with	localhost pinoak.local:8002

Where pinoak.local is the name of my local site.	localhost pinoak.local

This is correct way to add host in hosts file.

Now in your browser you use http://pinoak.local:8002

Thanks @Yogesh_Sharma! Apparently I was over-thinking it.