I`ve installed the webmatrix kit and accessed the localhost:8080 on the servercomputer and the default webpage is showing good, but when i try to access it from another computer that is in the same lan it says Bad Request (Invalid Hostname). Any solution?
I`ve installed the webmatrix kit and accessed the localhost:8080 on the servercomputer and the default webpage is showing good, but when i try to access it from another computer that is in the same lan it says Bad Request (Invalid Hostname). Any solution?
When you are on the other computer on the lan - are you typing http://localhost:8080/ ? If so then it will not work. Localhost refers to exactly that, the local host - being the computer that the website is installed on. However you can
either type in the IP address or the computer name of the server computer and you should be right (ie.
http://server-name-here:8080/)
Let us know how you got on :)
Dont forget to Mark as Answer if it has solved your problem!
VladVictor
Member
4 Points
4 Posts
Bad Request (Invalid Hostname)
Apr 16, 2011 11:04 AM|LINK
I`ve installed the webmatrix kit and accessed the localhost:8080 on the servercomputer and the default webpage is showing good, but when i try to access it from another computer that is in the same lan it says Bad Request (Invalid Hostname). Any solution?
a-rad
Member
451 Points
169 Posts
Re: Bad Request (Invalid Hostname)
Apr 17, 2011 02:09 AM|LINK
When you are on the other computer on the lan - are you typing http://localhost:8080/ ? If so then it will not work. Localhost refers to exactly that, the local host - being the computer that the website is installed on. However you can either type in the IP address or the computer name of the server computer and you should be right (ie. http://server-name-here:8080/)
Let us know how you got on :)