When you enter your IP and any hostname in the Hosts file and access it with the hostname listed in the Explorer address bar, the credentials appear and you enter the allowed user ID and password, but you cannot access it.
■ Goals
①I would like to access myself with the hostname listed in the Hosts file.
②If you cannot access it, I would like to know the reason why it is not possible.
■Environment
Windows 10 Home
Version 1903
■ Step
①Obtain an IPv4 address using the ipconfig command at the command prompt
②An optional host name of an Ipv4 address acquired in a procedure にて is inputted and stored in a Hosts file.
③An explorer is opened and a host name inputted in \procedure 5 is inputted to an address bar.
④Verify that credentials are displayed without access.
■ Supplemental
①You can access it if you enter the following in Explorer (only the hostname you set in the Hosts file is not accessible).
·\localhost
·\127.0.0.1
·\[Ipv4 address obtained in step 4]
②If you enter the hostname entered in step 5 at the command prompt
You can verify that there is a response from the IP address configured in the Hosts file.
■ What I've tried so far
·Log in with Administrator and perform the above steps
→ Credentials are displayed and inaccessible
·Log in with the created local user and perform the above steps
→ Credentials are displayed and inaccessible
·Enter the Administrator information using the displayed credentials
→ Incorrect User or Password
·Enter the information of the local user created with the displayed credentials
→ Incorrect User or Password
·Access with credentials entered in advance in the credentials manager
→ Credentials are displayed and inaccessible
·Create a shared folder and try accessing the shared folder
①Create a folder directly under drive D
②Allow "Everyone" from shared folder properties.
③A host name inputted in \step 5\ "created shared folder name" is inputted.
④Verify credentials are displayed and inaccessible
⑤Enter the host name\D$\"Created shared folder name" entered in step 5.
⑥Verify credentials are displayed and inaccessible
I'm sorry to trouble you, but I don't have enough knowledge.
If anyone knows the cause or solution, please let me know.
Thank you for your cooperation.
Create and restart the registry keys below.
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Name: OptionalNames
Type: REG_SZ
values:alias (for example, mypc
)
After the reboot, the computer name (NetBIOS name) is added and the shared folder is accessible.
You can check it with the following command:
>nbtstat-n
Ethernet LAN:
Node IP address: 10.0.2.15 Scope ID: [ ]
NetBIOS Local Name Table
name type state
---------------------------------------------
WIN10<00>Uniquely registered<- Original computer name
MYDOMAIN <00>Group Registered < -Workgroup or Domain
WIN10<20>Uniquely registered<- Original computer name (entry for shared folders)
MYPC<20>Uniquely registered<- Added computer name (entry for shared folder)
581 PHP ssh2_scp_send fails to send files as intended
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
578 Understanding How to Configure Google API Key
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.