Localhost in settings not accurate /working

On Android latest OS Galaxy S6, directions say to enter "localhost" into proxy settings. But I can't save it because it's too short or missing the full path
The save button is grayed put until it's entered correctly.
The save button is grayed put until it's entered correctly.