Fix “Client can only be used from host” Error

There is a known error for perforce client with error message “Client ‘xxxx’ can only be used from host ‘yyyyy’.”, you can find detailed explanation from Perforce knowledge base here.

This was caused by an optional parameter “Host” when you setup your workspace, if you set your workspace with this parameter such as “Host: host1”, then you won’t be able to “restore” the same p4 workspace on another machine or when p4 client can not correctly get hostname such as got “localhost” which not match the original “host1” value.

A simple way to fix this issue is by removing the “Host” parameter in the workspace setting, you can do this either by “p4 client” or in p4v.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s